pycatia.mec_mod_interfaces.geometric_elements¶
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.geometric_elements.GeometricElements(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionGeometricElementsA collection of all geometric elements contained in a part or asketch.Geometric elements are created with the 2D factory for the sketch and with the3D factory for the part. Geometric elements thus created are then aggregatedeither in the sketch or as part of the geometric elementcollection.See also:Factory2D, HybridShapeFactory- item(i_index: cat_variant) GeometricElement ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As GeometricElementReturns a geometric element using its index or its name from theGeometricElements collection.Parameters:iIndexThe index or the name of the geometric element to retrieve from thecollection of geometric elements. As a numerics, this index is the rank of thegeometric element in the collection. The index of the first geometric elementin the collection is 1, and the index of the last geometric element is Count.As a string, it is the name you assigned to the geometric element using theAnyObject.Name property.Returns:The retrieved geometric elementExample:This example retrieves the last item in the geometric elementcollection.Set lastCst = cstList.Item(cstList.Count)
- Parameters:
i_index (cat_variant) –
- Return type: