All Frameworks  Object Hierarchy  This Framework  Indexes   

HybridShapes (Collection)

The collection of the HybridShapes making up a body.

Method Index

GetBoundary
Returns a boundary using its label.
Item
Returns a HybridShape using its index or its name from the HybridShapes collection.

Methods


o Func GetBoundary( iLabel) As
Returns a boundary using its label.
Parameters:
iLabel
Identification of the
Boundary object. See Reference.DisplayName.
Returns:
The retrieved boundary
o 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
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")
 

Copyright © 2003, Dassault Systèmes. All rights reserved.