pycatia.arrangement_interfaces.arrangement_areas¶
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_areas.ArrangementAreas(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionArrangementAreasA Collection object for ArrangementArea objects.Role: Use this interface to add, retrieve and remove ArrangementArea objectsfrom this collection.- add_area(i_rel_axis: Move, i_position: tuple, i_height: float) ArrangementArea ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddArea(Move iRelAxis,CATSafeArrayVariant iPosition,double iHeight) As ArrangementAreaCreates a ArrangementArea and adds it to the collection. The Area createdwill be without any contour. Hence only the height of the area isspecified.Parameters:iRelAxisRelative Axis to be considered.iPositionPosition information for the Area (rotation and location).iHeightHeight of the Area.Returns:The newly created ArrangementArea object that is also added to thecollection.
- Parameters:
i_rel_axis (Move) –
i_position (tuple) –
i_height (float) –
- Return type:
- item(i_index: cat_variant) ArrangementArea ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ArrangementAreaReturns the specified item of the collection.Parameters:iIndexThe index or the name of the ArrangementArea to retrieve from thiscollection.To retrieve a specific object by number, use the rank of theArrangementArea 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 specificArrangementArea by name, use name that you assigned using theAnyObject.Name property.Returns:The retrieved ArrangementArea object.Example:This example retrieves ArrangementArea, objArea1, of rank 1 underthe Areas collection.Dim objArea1 As ArrangementAreaSet objArea1= Areas.Item(1)
- 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 ArrangementArea object from thecollection.Parameters:iIndexThe index or the name of the ArrangementArea to remove from thiscollection.To remove a specific object by number, use the rank of theArrangementArea 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 specificArrangementArea by name, use name that you assigned using theAnyObject.Name property.Example:This example removes ArrangementArea of rank 1 under the Areascollection.Areas.Remove(1)
- Parameters:
i_index (cat_variant) –
- Return type:
None