pycatia.arrangement_interfaces.arrangement_item_reservations¶
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_item_reservations.ArrangementItemReservations(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionArrangementItemReservationsA collection object for ArrangementItemReservation objects.Role: Use this collection object to manage (create, retrieve and remove)ArrangementItemReservation objects.- add_item_reservation(i_rel_axis: Move, i_position: tuple, i_x_min: float, i_y_min: float, i_z_min: float, i_x_max: float, i_y_max: float, i_z_max: float) ArrangementItemReservation ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddItemReservation(Move iRelAxis,CATSafeArrayVariant iPosition,double iXMin,double iYMin,double iZMin,double iXMax,double iYMax,double iZMax) As ArrangementItemReservationCreates an ArrangementItemReservation and adds it to thecollection.Parameters:iRelAxisRelative Axis to be considered.iPositionPosition information for the ItemReservation (rotation andlocation).iXMinMinium X Coordinate of the bounding box on the Item Reservation.iYMinMinium Y Coordinate of the bounding box on the Item Reservation.iZMinMinium Z Coordinate of the bounding box on the Item Reservation.iXMaxMaximum X Coordinate of the bounding box on the Item Reservation.iYMaxMaximum Y Coordinate of the bounding box on the Item Reservation.iZMaxMaximum Z Coordinate of the bounding box on the Item Reservation.Returns:Returns the newly created ArrangementItemReservation object and adds itto the collection.
- Parameters:
i_rel_axis (Move) –
i_position (tuple) –
i_x_min (float) –
i_y_min (float) –
i_z_min (float) –
i_x_max (float) –
i_y_max (float) –
i_z_max (float) –
- Return type:
- item(i_index: cat_variant) ArrangementItemReservation ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ArrangementItemReservationReturns the specified ArrangementItemReservation item of thecollection.Parameters:iIndexThe index or the name of the ArrangementItemReservation to retrievefrom this collection.To retrieve a specific object by number, use the rank of theArrangementItemReservation 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 specificArrangementItemReservation by name, use name that you assigned using theAnyObject.Name property.Returns:The retrieved ArrangementItemReservation 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 ArrangementItemReservation object from thecollection.Parameters:iIndexThe index or the name of the ArrangementItemReservation to removefrom this collection.To remove a specific object by number, use the rank of theArrangementItemReservation 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 specificArrangementItemReservation by name, use name that you assigned using theAnyObject.Name property.
- Parameters:
i_index (cat_variant) –
- Return type:
None