pycatia.arrangement_interfaces.arrangement_rectangles¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.arrangement_interfaces.arrangement_rectangles.ArrangementRectangles(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionArrangementRectanglesA Collection object for ArrangementRectangle objects.Role: Use this object to manage (create, retrieve and remove)ArrangementRectangle objects.- add_rectangle(i_rel_axis: Move, i_position: tuple, i_width: float, i_length: float) ArrangementRectangle ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddRectangle(Move iRelAxis,CATSafeArrayVariant iPosition,double iWidth,double iLength) As ArrangementRectangleCreates an ArrangementRectangle and adds it to thecollection.Parameters:iRelAxisRelative Axis to be considered.iPositionPosition information for the Rectangle (rotation and location).iWidthWidth of the Rectangle.iLengthLength of the Rectangle.Returns:Returns the newly created ArrangementRectangle and adds it to thecollection.
- Parameters:
i_rel_axis (Move) –
i_position (tuple) –
i_width (float) –
i_length (float) –
- Return type:
- item(i_index: cat_variant) ArrangementRectangle ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ArrangementRectangleReturns the specified ArrangementRectangle item of the collectionobject.Parameters:iIndexThe index or the name of the ArrangementRectangle to retrieve fromthis collection.To retrieve a specific object by number, use the rank of theArrangementRectangle in that collection.Note that the index of the first element in the collection is1, and the index of the last element is Count. To retrieve a specificArrangementRectangle by name, use name that you assigned using theAnyObject.Name property.Returns:The retrieved ArrangementRectangle object.
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(CATVariant iIndex)Removes the specified ArrangementRectangle object from thecollection.Parameters:iIndexThe index or the name of the ArrangementRectangle to remove fromthis collection.To remove a specific object by number, use the rank of theArrangementRectangle in that collection.Note that the index of the first element in the collection is1, and the index of the last element is Count. To remove a specificArrangementRectangle by name, use name that you assigned using theAnyObject.Name property.
- Parameters:
i_index (cat_variant) –
- Return type:
None