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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
HybridShapes

The 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 Boundary

Returns a boundary using its label.

Parameters:

iLabel
Identification of the

Boundary object. See Reference.DisplayName.
Returns:
The retrieved boundary
Parameters:

i_label (str) –

Return type:

Boundary

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 HybridShape

Returns a HybridShape using its index or its name from the HybridShapes
collection.

Parameters:

iIndex
The index or the name of the HybridShape to retrieve from the
collection of HybridShapes. As a numerics, this index is the rank of the
HybridShape in the collection. The index of the first HybridShape in the
collection is 1, and the index of the last HybridShape is


Collection.Count. As a string, it is the name you assigned to the
HybridShape using the AnyObject.Name property.
Returns:
The retrieved HybridShape
Example:
This example retrieves in ThisHybridShape the third HybridShape, and in
ThatHybridShape the HybridShape named MyHybridShape in the HybridShape
collection of the active document, supposed to be a part
document.

Set ThisHybridShape = CATIA.ActiveDocument.HybridShapes.Item(3)
Set ThatHybridShape = CATIA.ActiveDocument.HybridShapes.Item(“MyHybridShape”)
Parameters:

i_index (cat_variant) –

Return type:

HybridShape