Indexes   

HybridBody (Object)

The object is a hybrid body.
The hybrid body manages a set of geometric elements, a set of hybrid shapes, a set of bodies and a set of hybrid bodies.
It belongs to the HybridBodies collection of a Part or @ref CATIABody or HybridBody object.

Property Index

Bodies
Returns the hybrid body's Bodies collection.
GeometricElements
Returns the list of geometrical elements included in the hybrid body.
HybridBodies
Returns the hybrid body's HybridBodies collection.
HybridShapes
Returns the list of hybrid shapes included in the hybrid body.
HybridSketches
Returns the hybrid body's Sketches collection.

Method Index

AppendHybridShape
Appends a hybrid shape to the hybrid body.

Properties


o Property Bodies() As (Read Only)
Returns the hybrid body's Bodies collection.
Example:
The following example returns in bodyColl the collection of bodies of the hybrid body hybridBody :
 Set bodyColl = hybridBody.Bodies
o Property GeometricElements() As (Read Only)
Returns the list of geometrical elements included in the hybrid body.
Returns:
oGeometricElements The list of geometric elements in the hybrid body (@see CATIAGeometricElements
for more information).
Example:
The following example returns in geometricElements the list of
geometrical elements in the Hybrid body hybridBody:
 Dim geometricElements As GeometricElements
 Set geometricElements = hybridBody.GeometricElements
 
o Property HybridBodies() As (Read Only)
Returns the hybrid body's HybridBodies collection.
Example:
The following example returns in hybridBodyColl the collection of hybrid bodies of the hybrid body hybridBody :
 Set hybridBodyColl = hybridBody.HybridBodies
o Property HybridShapes() As (Read Only)
Returns the list of hybrid shapes included in the hybrid body.
Returns:
oHybridShapes The list of hybrid shapes in the hybrid body (@see CATIAHybridShapes
for more information).
Example:
The following example returns in hybridShapes the list of
hybrid shapes in the hybrid body hybridBody:
 Dim hybridShapes As HybridShapes
 Set hybridShapes = hybridBody.HybridShapes
 
o Property HybridSketches() As (Read Only)
Returns the hybrid body's Sketches collection. These sketches are those inside the hybrid body at all levels.
Example:
The following example returns in skColl the collection of sketches of a hybrid body :
 Set skColl = hybridBody.HybridSketches

Methods


o Sub AppendHybridShape( iHybridShape)
Appends a hybrid shape to the hybrid body.
Parameters:
iHybriShape
The hybrid shape to append.
Example:
This example appends the hybrid shape hybridShape to the hybrid body hybridBody:
 hybridBody.AppendHybridShape (hybridShape)
 

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