pycatia.mec_mod_interfaces.hybrid_body¶
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_body.HybridBody(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectHybridBodyThe object is a hybrid body.The hybrid body manages a set of geometric elements, a set of hybrid shapes, aset of bodies and a set of hybrid bodies.It belongs to the HybridBodies collection of a Part or @ref CATIABody orHybridBody object.- append_hybrid_shape(i_hybrid_shape: HybridShape) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AppendHybridShape(HybridShape iHybridShape)Appends a hybrid shape to the hybrid body.Parameters:iHybriShapeThe hybrid shape to append.Example:This example appends the hybrid shape hybridShape to the hybrid bodyhybridBody:hybridBody.AppendHybridShape (hybridShape)
- Parameters:
i_hybrid_shape (HybridShape) –
- Return type:
None
- append_hybrid_shapes(shapes: list) None ¶
- Parameters:
shapes (list(HybridShape)) –
- Returns:
- property bodies: Bodies¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Bodies() As Bodies (Read Only)Returns the hybrid body’s Bodies collection.Example:The following example returns in bodyColl the collection of bodies ofthe hybrid body hybridBody :Set bodyColl = hybridBody.Bodies
- Return type:
- property geometric_elements: GeometricElements¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property GeometricElements() As GeometricElements (ReadOnly)Returns the list of geometrical elements included in the hybridbody.Returns:oGeometricElements The list of geometric elements in the hybrid body(@see CATIAGeometricElementsfor more information).Example:The following example returns in geometricElements the listofgeometrical elements in the Hybrid bodyhybridBody:Dim geometricElements As GeometricElementsSet geometricElements = hybridBody.GeometricElements
- Return type:
- property hybrid_bodies: HybridBodies¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property HybridBodies() As HybridBodies (Read Only)Returns the hybrid body’s HybridBodies collection.Example:The following example returns in hybridBodyColl the collection ofhybrid bodies of the hybrid body hybridBody :Set hybridBodyColl = hybridBody.HybridBodies
- Return type:
- property hybrid_shapes: HybridShapes¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property HybridShapes() As HybridShapes (Read Only)Returns the list of hybrid shapes included in the hybridbody.Returns:oHybridShapes The list of hybrid shapes in the hybrid body (@seeCATIAHybridShapesfor more information).Example:The following example returns in hybridShapes the listofhybrid shapes in the hybrid body hybridBody:Dim hybridShapes As HybridShapesSet hybridShapes = hybridBody.HybridShapes
- Return type:
- property hybrid_sketches: Sketches¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property HybridSketches() As Sketches (Read Only)Returns the hybrid body’s Sketches collection. These sketches are thoseinside the hybrid body at all levels.Example:The following example returns in skColl the collection of sketches of ahybrid body :Set skColl = hybridBody.HybridSketches
- Return type: