pycatia.cat_str_functional_interfaces.sfm_super_plate¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_str_functional_interfaces.sfm_super_plate.SFMSuperPlate(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectCATStrFunctionalInterfaces.SfmObjectSfmSuperPlateInterface to manage the Structure Functional Modeler SuperPlateobject.Role: Allows accessing and setting of SuperPlate’s data.See also:SfmFactory- add_limit(i_limit: Reference, i_orientation: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddLimit(Reference iLimit,long iOrientation)Adds one object to the list of connected object.Parameters:iLimit[in] New Limit to add.iOrientation[in] iOrientation value can be selected fromInvertOrientation = -1,UnknownOrientation = 0,SameOrientation = 1,GlobalOrientation(Xp) = 2,GlobalOrientation(Xm) = 3,GlobalOrientation(Yp) = 4,GlobalOrientation(Ym) = 5,GlobalOrientation(Zp) = 6,GlobalOrientation(Zm) = 7,GlobalOrientation_Inside = 8,[SameOrientation ] GlobalOrientation_Outside = 9,[InvertOrientation ] GlobalOrientation_LInboard = 10[Toward center line] GlobalOrientation_LOutboard = 11[Opposite of previous one ] GlobalOrientation_TInboard = 12 [Toward midship ]GlobalOrientation_TOutboard = 13 [Opposite of previous one]Example:This example adds one limit to Deck Plate, and keeps ForeSide.Set PlateLimit = ObjPart.FindObjectByName(“CROSS.60”)Dim LimitRef As ReferenceSet LimitRef = ObjPart.CreateReferenceFromObject(PlateLimit)Dim Orientation As LongOrientation = 2SuperPlate.AddLimit LimitRef, Orientation
- Parameters:
i_limit (Reference) –
i_orientation (int) –
- Return type:
None
- get_free_edges() References ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetFreeEdges() As ReferencesReturns the Free Edges of Super Plate.Example:This example retrieves in FreeEdges the list of free edges for theSuperPlate feature.Dim FreeEdges As ReferencesSet FreeEdges = SuperPlate.GetFreeEdges
- Return type:
- get_slots_on_plate() SFMSlots ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetSlotsOnPlate() As SfmSlotsRetrieves Slots on Plate.Parameters:oSfmSlots[out] Slots.Returns:S_OK if everything ran okExample:This example gets the Slots.Dim SlotsonPlate As SfmSlotsSet SlotsonPlate = PlateObj.GetSlotsOnPlate
- Return type:
- get_split_plate_attributes(i_split_plate_number: int, o_thickness: float, o_material_name: str, o_grade_name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetSplitPlateAttributes(long iSplitPlateNumber,double oThickness,CATBSTR oMaterialName,CATBSTR oGradeName)Returns the SplitPlate(ChildPlate)Attributes(Thickness,Material,Grade).Parameters:iSplitPlateNumber[in] This Number is the Split Plate number desired.oThickness[out] Thickness of the child Plate.oMaterialName[out] Material of the child Plate.oGradeName[out] Grade of the child Plate.Example:This example retrieves the attributes of theChildPlate.‘Retrieve the Split Plates under theSuperPlateDim SplitPlates as ReferencesSet SplitPlates = SuperPlateObj.SplitPlatesDim SplitPlate1 As ReferenceSet SplitPlate1 = SplitPlates.Item(1)‘Add the Split Plate to SelectionSet SelctionObj = CATIA.ActiveDocument.SelectionSelctionObj.Add SplitPlate1‘Retrieve the Split Plate From SelectionDim SplitPlateObj As SfmSuperPlateSet SplitPlateObj = SelctionObj.FindObject(“CATIASfmSuperPlate”)Dim Thickness As DoubleDim Material As StringDim Grade As StringSplitPlateObj.GetSplitPlateAttributes 1, Thickness ,Material,Grade
- Parameters:
i_split_plate_number (int) –
o_thickness (float) –
o_material_name (str) –
o_grade_name (str) –
- Return type:
None
- invert_limit(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub InvertLimit(CATVariant iIndex)Invert a limit orientation by its index or its name.Example:This example removes the first object from the list of connectedobjects for the StfConnection feature.StfConnection.RemoveObject 1
- Parameters:
i_index (cat_variant) –
- Return type:
None
- property limit_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property LimitMode() As longReturns or sets the SuperPlate’s limit mode.Example:This example retrieves in LimitMode the limit mode of the SuperPlatefeature.Dim LimitMode As IntegerSet LimitMode = SuperPlate.LimitMode
- Return type:
int
- limit_orientations(io_orientations: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub LimitOrientations(CATSafeArrayVariant ioOrientations)Returns the orientation of the limits.Example:This example retrieves in Orientations the list of orientations limitfor the SuperPlate feature.Dim Orientations As ReferencesSuperPlate.LimitOrientations Orientations
- Parameters:
io_orientations (tuple) –
- Return type:
None
- limits() References ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Limits() As ReferencesReturns the limits.Example:This example retrieves in Limits the list of limits for the SuperPlatefeature.Dim Limits As ReferencesSuperPlate.Limits Limits, Orientations
- Return type:
- property molded_surface: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MoldedSurface() As Reference (Read Only)Returns the molded surface.Example:This example retrieves in MoldedSurface the molded surface for theSuperPlate feature.Dim MoldedSurface As ReferenceSet MoldedSurface = SuperPlate.MoldedSurface
- Return type:
- remove_limit(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveLimit(CATVariant iIndex)Removes one object from the list of limits by its index or itsname.Example:This example removes the first object from the list of connectedobjects for the StfConnection feature.StfConnection.RemoveObject 1
- Parameters:
i_index (cat_variant) –
- Return type:
None
- run() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Run()Build the SplitPlates.Example:This example build the SplitPlates for the SuperPlatefeature.SuperPlate.Run
- Return type:
None
- set_as_last_limit(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAsLastLimit(CATVariant iIndex)Adds one limit at the end of the list.Example:This example sets the limit at the end of the list oflimits.SuperPlate.SetAsLastLimit Index
- Parameters:
i_index (cat_variant) –
- Return type:
None
- set_split_plate_attributes(i_split_plate_number: int, i_thickness: float, i_material_name: str, i_grade_name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetSplitPlateAttributes(long iSplitPlateNumber,double iThickness,CATBSTR iMaterialName,CATBSTR iGradeName)Set the SplitPlate(ChildPlate)Attributes(Thickness,Material,Grade).Parameters:iSplitPlateNumber[in] iSplitPlateNumber will be 1,2,3…iThickness[in] Thickness of the child Plate.iMaterialName[in] Material of the child Plate.iGradeName[in] Grade of the child Plate.Example:This example sets the attributes of theChildPlate.‘Retrieve the Split Plates under theSuperPlateDim SplitPlates as ReferencesSet SplitPlates = SuperPlateObj.SplitPlatesDim SplitPlate1 As ReferenceSet SplitPlate1 = SplitPlates.Item(1)‘Add the Split Plate to SelectionSet SelctionObj = CATIA.ActiveDocument.SelectionSelctionObj.Add SplitPlate1‘Retrieve the Split Plate From SelectionDim SplitPlateObj As SfmSuperPlateSet SplitPlateObj = SelctionObj.FindObject(“CATIASfmSuperPlate”)SplitPlateObj.SetSplitPlateAttributes 1, 30, “Steel”,“A45”
- Parameters:
i_split_plate_number (int) –
i_thickness (float) –
i_material_name (str) –
i_grade_name (str) –
- Return type:
None
- property split_plates: References¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SplitPlates() As References (Read Only)Returns the SplitPlates.Example:This example retrieves in SplitPlates the list of SplitPlates for theSuperPlate feature.Dim SplitPlates As ReferencesSet SplitPlates = SuperPlate.SplitPlates
- Return type:
- property split_plates_objects: SFMSplitPlates¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SplitPlatesObjects() As SfmSplitPlates (Read Only)Returns the SplitPlates.Example:This example retrieves in SplitPlates the list of SplitPlates for theSuperPlate feature.Dim SuperPlate2 As SfmSuperPlateSet SuperPlate2 = SuperPlates.Item(2)Dim OperatedSuperPlateObject As SfmSuperPlateObjectSet OperatedSuperPlateObject = SuperPlate2.GetItem(“SfmSuperPlateObject”)Dim SplitPlates As SplitPlatesObjectsSet SplitPlates = SuperPlate.SplitPlatesObjects
- Return type:
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Support() As ReferenceReturns the SuperPlate’s support.Example:This example retrieves in Support the support of the SuperPlatefeature.Dim Support As ReferenceSet Support = SuperPlate.Support
- Return type:
- property support_offset: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SupportOffset() As doubleReturns or sets the SuperPlate’s support offset.Example:This example retrieves in Offset the support offset of the SuperPlatefeature.Dim Offset As DoubleSet Offset = SuperPlate.SupportOffset
- Return type:
float
- property support_offset_param: Length¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SupportOffsetParam() As Length (Read Only)
- Return type:
- property thickness: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Thickness() As doubleReturns or sets the SuperPlate’s Thickness.Example:This example retrieves the Thickness of existingSuperPlate.Dim ThicknessValue As DoubleSet ThicknessValue = SuperPlate.Thickness
- Return type:
float