pycatia.mec_mod_interfaces.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.body.Body(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectBodyThe object that manages a sequence of shapes, a set of sketches, a set ofhybrid bodies, a set of ordered geometrical sets and a set of hybridshapes.It belongs to the Bodies collection of a Part or HybridBodyobject.- 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 body’s HybridBodies collection.Example:The following example returns in hybridBodyColl the collection ofhybrid bodies of the main body of partDoc partdocument:Dim body As BodySet body = partDoc.Part.Bodies.MainBodySet hybridBodyColl = body.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 body.Returns:oHybridShapes The list of hybrid shapes in the body (@seeCATIAHybridShapesfor more information).Example:The following example returns in HybridShapes1 the listofhybrid shapes in the body Body1:Dim HybridShapes1 As HybridShapesSet HybridShapes1 = Body1.HybridShapes
- Return type:
- property in_boolean_operation: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InBooleanOperation() As boolean (Read Only)Returns True if the body is involved in a boolean operation, else returnsFalse.Example:The following example returns in operated True if the body body1belongsto a boolean operation.operated = body1.InBooleanOperation
- Return type:
bool
- insert_hybrid_shape(i_hybrid_shape: HybridShape) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InsertHybridShape(HybridShape iHybridShape)Insert a hybrid shape to the body.Parameters:iHybriShapeThe hybrid shape to insert.Example:This example inserts the hybrid shape HybridShape1 to the bodyBody1:Body1.InsertHybridShape (HybridShape1)
- Parameters:
i_hybrid_shape (HybridShape) –
- Return type:
None
- property ordered_geometrical_sets: OrderedGeometricalSets¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property OrderedGeometricalSets() As OrderedGeometricalSets (ReadOnly)Returns the body’s OrderedGeometricalSets collection.ometricalSetColl = Body1.OrderedGeometricalSets Example:The following example returns in OrderedGeometricalSetColl thecollection of ordered geometrical set of the body Body1:Set OrderedGe
- Return type:
- property shapes: Shapes¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Shapes() As Shapes (Read Only)Returns the body’s Shapes collection. These shapes make up the sequence ofshapes that will produce an intermediate result for the part, or the finalresult in the case of the main body.Example:The following example returns in shapColl the collection of shapesmanaged by the main body of the partDoc part document:Dim body As BodySet body = partDoc.Part.Bodies.MainBodySet shapColl = body.Shapes
- Return type:
- property sketches: Sketches¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Sketches() As Sketches (Read Only)Returns the body’s Sketches collection. These sketches are those inside thebody at all levels.Example:The following example returns in skColl the collection of sketches ofthe main body of partDoc part document:Dim body As BodySet body = partDoc.Part.Bodies.MainBodySet skColl = body.Sketches
- Return type: