pycatia.dnb_human_sim_interfaces.place_activity¶
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.dnb_human_sim_interfaces.place_activity.PlaceActivity(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityDNBHumanSimInterfaces.WorkerActivityPlaceActivityThe object that represents an PlaceActivity.- add_placed_mfg_assembly(p_picked_item: MfgAssembly, vb_sav: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddPlacedMfgAssembly(MfgAssembly pPickedItem,CATSafeArrayVariant vbSAV)Adds a Manufacturing Assembly to the List of placed Items
- Parameters:
p_picked_item (MfgAssembly) –
vb_sav (tuple) –
- Return type:
None
- add_placed_product(p_picked_item: Product, vb_sav: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddPlacedProduct(Product pPickedItem,CATSafeArrayVariant vbSAV)Adds a product to the List of placed Items
- Parameters:
p_picked_item (Product) –
vb_sav (tuple) –
- Return type:
None
- get_offset(o_offset_trans_list: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetOffset(CATSafeArrayVariant oOffsetTransList)This method gets the relative offset List for placing theproductParameters:oOffsetTranslist of Offsets between EndEff and Product at time of placing first12 values represent 1st offset, next 12, 2nd offset and so on.. The offsetmatrix is interpreted as follows: The first 9 entries correspond to therotation matrix and the next 3 entries correspond to the position vector Thefirst 9 entries are interpreted row wise for the matrix shownbelowR1x R1y R1zR2x R2y R2zR3x R3y R3zPx Py PzR1x:x-component of x axisR2x:y-component of x axisR3x:z-component of x axisR1y:x-component of y axisR2y:y-component of y axisR3y:z-component of y axisR1z:x-component of z axisR2z:y-component of z axisR3z:z-component of z axis
- Parameters:
o_offset_trans_list (tuple) –
- Return type:
None
- get_placed_products(p_placed_prods: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetPlacedProducts(CATSafeArrayVariant pPlacedProds)Returns or Sets Placed Products
- Parameters:
p_placed_prods (tuple) –
- Return type:
None
- remove_placed_mfg_assembly(p_picked_item: MfgAssembly) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemovePlacedMfgAssembly(MfgAssembly pPickedItem)Removes a Manufacturing Assembly from the list of placed items
- Parameters:
p_picked_item (MfgAssembly) –
- Return type:
None
- remove_placed_product(p_picked_item: Product) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemovePlacedProduct(Product pPickedItem)Removes a product from the list of placed items
- Parameters:
p_picked_item (Product) –
- Return type:
None
- set_offset(o_offset_trans_list: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetOffset(CATSafeArrayVariant oOffsetTransList)This method sets the relative offsets for placing theproductParameters:oOffsetTransListlist of Offsets between EndEffs and Products at time of placingfirst 12 values represent 1st offset, next 12, 2nd offset and so on.. The offsetmatrix is interpreted as follows: The first 9 entries correspond to therotation matrix and the next 3 entries correspond to the positionvectorR1x R1y R1zR2x R2y R2zR3x R3y R3zPx Py PzR1x:x-component of x axisR2x:y-component of x axisR3x:z-component of x axisR1y:x-component of y axisR2y:y-component of y axisR3y:z-component of y axisR1z:x-component of z axisR2z:y-component of z axisR3z:z-component of z axisExample:This example shows how the offset list needs to bepopulated‘ Example of 45 degree rotation around the x-axis of placinghandDim oOffsetTransList(11) ‘ 0 to 11; relative transformation betweenhand and object‘ X axis rotation componentoOffsetTransList( 0 ) = 1oOffsetTransList( 3 ) = 0oOffsetTransList( 6 ) = 0‘ Y axis rotation componentoOffsetTransList( 1 ) = 0oOffsetTransList( 4 ) = 0.7071oOffsetTransList( 7 ) = 0.7071‘ Z axis rotation componentoOffsetTransList( 2 ) = 0oOffsetTransList( 5 ) = -0.7071oOffsetTransList( 8 ) = 0.7071‘ position vector (relative vector between the hand andobject)oOffsetTransList( 9 ) = 0oOffsetTransList( 10 ) = 0oOffsetTransList( 11 ) = 0
- Parameters:
o_offset_trans_list (tuple) –
- Return type:
None
- set_pick_act(pick_act: Activity) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPickAct(Activity pickAct)Sets or append a link to a Pick activity
- Parameters:
pick_act (Activity) –
- Return type:
None
- set_placed_products(p_placed_prods: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPlacedProducts(CATSafeArrayVariant pPlacedProds)
- Parameters:
p_placed_prods (tuple) –
- Return type:
None