DeviceJointRelations (Object)

INTERFACE : DNBIADeviceJointRelations
DESCRIPTION This interface allows to assign symbolic kinematic relations to Mechanism joints


Methods


Sub GetJointRelationExpression( joint, expr)
Get Kin expression of the given Joint.
Parameters:
joint
This input parameter specify CATIAJoint interface.
expr
This out parameter contains kin expression assigned to 'joint'.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
Sub SetJointRelationExpression( joint, expr)
Set Kin expression for the given Joint.
Parameters:
joint
This input parameter specifies CATIAJoint interface.
profile
This input parameter contains kin expression to be assigned for 'joint'.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .
Sub SetUserVariableExpr( user_expr)
Add the user-variable expression to the mechanism
Parameters:
user_expr
This input parameter is an user-variable expression.
Returns:
an HRESULT value.
Legal values:
  • S_OK if the operation succeeds
  • E_FAIL otherwise
  • .