All Frameworks  Object Hierarchy  This Framework  Indexes   

PlaceActivity (Object)

The object that represents an PlaceActivity.

Method Index

AddPlacedMfgAssembly
Adds a Manufacturing Assembly to the List of placed Items
AddPlacedProduct
Adds a product to the List of placed Items
GetOffset
This method gets the relative offset List for placing the product
GetPlacedProducts
Returns or Sets Placed Products
RemovePlacedMfgAssembly
Removes a Manufacturing Assembly from the list of placed items
RemovePlacedProduct
Removes a product from the list of placed items
SetOffset
This method sets the relative offsets for placing the product
SetPickAct
Sets or append a link to a Pick activity
SetPlacedProducts

Methods


o Sub AddPlacedMfgAssembly( pPickedItem,
vbSAV)
Adds a Manufacturing Assembly to the List of placed Items
o Sub AddPlacedProduct( pPickedItem,
vbSAV)
Adds a product to the List of placed Items
o Sub GetOffset( 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 reprsent 1st offset, next 12, 2nd offset and so on.. The offset matrix is intrepreted 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
o Sub GetPlacedProducts( pPlacedProds)
Returns or Sets Placed Products
o Sub RemovePlacedMfgAssembly( pPickedItem)
Removes a Manufacturing Assembly from the list of placed items
o Sub RemovePlacedProduct( pPickedItem)
Removes a product from the list of placed items
o Sub SetOffset( 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 represnt 1st offset, next 12, 2nd offset and so on.. The offset matrix is intrepreted 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
 
o Sub SetPickAct( pickAct)
Sets or append a link to a Pick activity
o Sub SetPlacedProducts( pPlacedProds)

Copyright © 2003, Dassault Systèmes. All rights reserved.