pycatia.arrangement_interfaces.arrangement_item_reservation¶
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_reservation.ArrangementItemReservation(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectArrangementItemReservationUse this object to access the ArrangementItemReservation properties andmethods.Role: Use this object to control the visualization mode, dimensions of theArrangementItemReservation.- get_dimension(io_item_res_dimensions: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetDimension(CATSafeArrayVariant ioItemResDimensions)Returns the Dimensions of the ArrangementItemReservation.Parameters:ioItemResDimensionsThe output array initialized with the dimensions that make up theArrangementItemReservation. The first three components represent the MinimumXCoord, YCoord and Z Coord while the remaining three components represent theMaximum XCoord, YCoord and Z Coord respectively.Example:This example retrieves the coordinate dimensions of theobjItemRes1 object.Dim dblDimension(6) As DoubleobjItemRes1.GetDimension(dblDimension)
- Parameters:
io_item_res_dimensions (tuple) –
- Return type:
None
- get_technological_object(i_application_type: str) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTechnologicalObject(CATBSTR iApplicationType) AsCATBaseDispatchReturns the applicative data whose type is the givenparameter.Parameters:iApplicationTypeThe type of applicative data searched.oApplicativeObjThe matched applicative object.Example:This example retrieves the desired applicative object from theobjItemRes1 object.Dim objProd As ProductobjProd = objItemRes1.GetTechnologicalObject(“Product”)
- Parameters:
i_application_type (str) –
- Return type:
- property height: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Height() As doubleReturns or sets the height of theArrangementItemReservation.Example:This example retrieves the Height of the objItemRes1object.Dim dblHeight As DoubledblHeight = objItemRes1.Height
- Return type:
float
- set_dimension(i_item_res_dimensions: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetDimension(CATSafeArrayVariant iItemResDimensions)Sets the Dimensions of the ArrangementItemReservation.Parameters:iItemResDimensionsThe input array initialized with the dimensions that make up theArrangementItemReservation. The first three components represent the MinimumXCoord, YCoord and Z Coord while the remaining three components represent theMaximum XCoord, YCoord and Z Coord respectively.Example:This example sets the coordinate dimensions of the objItemRes1object.Dim dblDimension(6) As DoubledblDimension(0) = 300.0 ‘//XMindblDimension(1) = 500.0 ‘//YMindblDimension(2) = 300.0 ‘//ZMindblDimension(3) = 500.0 ‘//XMaxdblDimension(4) = 0.0 ‘//YMaxdblDimension(5) = 300.0 ‘//ZMaxobjItemRes1.SetDimension(dblDimension)
- Parameters:
i_item_res_dimensions (tuple) –
- Return type:
None
- property visu_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property VisuMode() As CATArrangementItemResVisuModeReturns or set the Visualization Mode for theArrangementItemReservation.Example:This example Sets the Visualization Mode of the objItemRes1 object toCatArrangementItemReservationVisuModeBox .objItemRes1.VisuMode = CatArrangementItemReservationVisuModeBox
- Returns:
enum cat_arrangement_item_res_visu_mode
- Return type:
int
- property x_length: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property XLength() As doubleReturns or sets the XLength of theArrangementItemReservation.Example:This example retrieves the XLength of the objItemRes1object.Dim dblXLength As DoubledblXLength = objItemRes1.XLength
- Return type:
float
- property y_length: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property YLength() As doubleReturns or sets the YLength of theArrangementItemReservation.Example:This example retrieves the YLength of the objItemRes1object.Dim dblYLength As DoubledblYLength = objItemRes1.YLength
- Return type:
float