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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
DMAPSInterfaces.Activity
DNBHumanSimInterfaces.WorkerActivity
PlaceActivity

The 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:
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 the
product

Parameters:

oOffsetTrans
list of Offsets between EndEff and Product at time of placing first
12 values represent 1st offset, next 12, 2nd offset and so on.. The offset
matrix is interpreted as follows: The first 9 entries correspond to the
rotation matrix and the next 3 entries correspond to the position vector The
first 9 entries are interpreted row wise for the matrix shown
below
R1x R1y R1z
R2x R2y R2z
R3x R3y R3z
Px Py Pz
R1x:x-component of x axis
R2x:y-component of x axis
R3x:z-component of x axis
R1y:x-component of y axis
R2y:y-component of y axis
R3y:z-component of y axis
R1z:x-component of z axis
R2z:y-component of z axis
R3z: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 the
product

Parameters:

oOffsetTransList
list of Offsets between EndEffs and Products at time of placing
first 12 values represent 1st offset, next 12, 2nd offset and so on.. The offset
matrix is interpreted as follows: The first 9 entries correspond to the
rotation matrix and the next 3 entries correspond to the position
vector
R1x R1y R1z
R2x R2y R2z
R3x R3y R3z
Px Py Pz
R1x:x-component of x axis
R2x:y-component of x axis
R3x:z-component of x axis
R1y:x-component of y axis
R2y:y-component of y axis
R3y:z-component of y axis
R1z:x-component of z axis
R2z:y-component of z axis
R3z:z-component of z axis

Example:

This example shows how the offset list needs to be
populated

‘ Example of 45 degree rotation around the x-axis of placing
hand
Dim oOffsetTransList(11) ‘ 0 to 11; relative transformation between
hand and object
‘ X axis rotation component
oOffsetTransList( 0 ) = 1
oOffsetTransList( 3 ) = 0
oOffsetTransList( 6 ) = 0
‘ Y axis rotation component
oOffsetTransList( 1 ) = 0
oOffsetTransList( 4 ) = 0.7071
oOffsetTransList( 7 ) = 0.7071
‘ Z axis rotation component
oOffsetTransList( 2 ) = 0
oOffsetTransList( 5 ) = -0.7071
oOffsetTransList( 8 ) = 0.7071
‘ position vector (relative vector between the hand and
object)
oOffsetTransList( 9 ) = 0
oOffsetTransList( 10 ) = 0
oOffsetTransList( 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