HybridShapes (Object)

The collection of the HybridShapes making up a body.

Methods


Func GetBoundary( iLabel) As
Returns a boundary using its label.
Parameters:
iLabel
Identification of the object. See .
Returns:
The retrieved boundary
Func Item( iIndex) As
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 . As a string, it is the name you assigned to the HybridShape using the 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")