pycatia.mec_mod_interfaces.hybrid_shapes¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.mec_mod_interfaces.hybrid_shapes.HybridShapes(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionHybridShapesThe collection of the HybridShapes making up a body.- get_boundary(i_label: str) Boundary ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundary(CATBSTR iLabel) As BoundaryReturns a boundary using its label.Parameters:iLabelIdentification of theBoundary object. See Reference.DisplayName.Returns:The retrieved boundary
- Parameters:
i_label (str) –
- Return type:
- item(i_index: cat_variant) HybridShape ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As HybridShapeReturns a HybridShape using its index or its name from the HybridShapescollection.Parameters:iIndexThe index or the name of the HybridShape to retrieve from thecollection of HybridShapes. As a numerics, this index is the rank of theHybridShape in the collection. The index of the first HybridShape in thecollection is 1, and the index of the last HybridShape isCollection.Count. As a string, it is the name you assigned to theHybridShape using the AnyObject.Name property.Returns:The retrieved HybridShapeExample:This example retrieves in ThisHybridShape the third HybridShape, and inThatHybridShape the HybridShape named MyHybridShape in the HybridShapecollection of the active document, supposed to be a partdocument.Set ThisHybridShape = CATIA.ActiveDocument.HybridShapes.Item(3)Set ThatHybridShape = CATIA.ActiveDocument.HybridShapes.Item(“MyHybridShape”)
- Parameters:
i_index (cat_variant) –
- Return type: