Properties
- Property Commands() As (Read Only)
-
Returns the collection of commands in the mechanism.
- Parameters:
-
- oCommands
- The collection of commands. This property is read only because because list is aggregated in the Mechanism dd>
- Property FixedPart() As
-
Returns or sets the fixed part of the mechanism.
- Parameters:
-
- oFixedPart
- The fixed part. dd>
- Property Joints() As (Read Only)
-
Returns the collection of joints in the mechanism.
- Parameters:
-
- oJoints
- The collection of joints. This property is read only because because list is aggregated in the Mechanism dd>
- Property NbCommands() As (Read Only)
-
Returns the number of commands in the mechanism.
- Parameters:
-
- oNbCommands
- The number of commands. This property is read only because number depends on commands creation/destruction dd>
- Property NbDof() As (Read Only)
-
Returns the degree of freedom of the mechanism.
- Parameters:
-
- oNbDof
- The degree of freedom. This property is read only because because it depends on joints and commands dd>
- Property NbJoints() As (Read Only)
-
Returns the number of joints in the mechanism.
- Parameters:
-
- oNbJoints
- The number of joints. This property is read only because number depends on joints creation/destruction dd>
- Property NbProducts() As (Read Only)
-
Returns the number of products (i.e. bodies) involved in the mechanism.
- Parameters:
-
- oNbProducts
- The number of products. This property is read only because number depends on joints creation/destruction dd>
Methods
- Func AddCommand( iCmdType, iJoint) As
-
Adds a command in the mechanism, on a joint.
- Parameters:
-
- iCmdType
- The command type. dd>
- iJoint
- The joint to be driven. dd>
- oNewCommand
- The newly created command. dd>
- Func AddJoint( iJointType, iListElem) As
-
Adds a joint in the mechanism.
- Parameters:
-
- iJointType
- The joint type. dd>
- iListElem
- The list of elements expected to locate the joint, depending on the type. dd>
- oNewJoint
- The newly created joint. dd>
- Sub GetCommandValues( ioCmdValues)
-
Allows to retrieve current state of the mechanism.
- Parameters:
-
- ioCmdValues
- current command values dd>
- Func GetProduct( iIndex) As
-
Returns an item from the list of the products involved in the mechanism.
- Parameters:
-
- iIndex
- The index for the product. dd>
- oProduct
- The product at that index. dd>
- Returns:
- HRESULT dd>
- Sub GetProductMotion( iProduct, ioMotion)
-
Retrieves motion from initial state to current state for a part
of the mechanism.
- Parameters:
-
- iProduct
- The moving product dd>
- ioMotion
- The motion matrix (12 real values, compatible with the Move object) dd>
- See also:
- Sub PutCommandValues( iCmdValues)
-
Triggers immediate mechanism solving.Visualization is updated after solve.
- Parameters:
-
- iCmdValues
- command values to be solved for dd>
- Sub PutCommandValuesWithMultiSteps( iCmdValues, iNbSteps, oStepReached)
-
Puts command values in given number of steps. Visualization is updated after every step.
- Parameters:
-
- iCmdValues
- Array of target command values (position to achieve) dd>
- inbSteps
- Number of steps in witch the target command value is to be reached.
Legal values- inbSteps greater than 0
- Number of step must be greater than zero. dd>
- oStepReached
- Number of steps reached successfully. dd>
- Sub ResetCmdValueToZero( iCommand)
-
Sets the command value to zero for the given command without disturbing part positions.
- Parameters:
-
- iCommand
- The command to reset to zero dd>
- Sub Update()
- Reassembles the mechanism after dimension changes in the parts.