*relativerotatedummyjoint

Rotates a dummy joint relative to its current location.

Syntax

*relativerotatedummyjoint entities collectorId axis rotAngle parentChild

Type

HyperMesh Tcl Modify Command

Description

Rotates a dummy joint relative to its current location.

Inputs

entities
The entity type. Currently, only components is supported.
collectorId
The id of the collector that is part of the parent/child system. The parent or child system itself will be rotated, depending on the parentChild toggle.
axis
The axis of the child that we want to rotate about.
  • 0 X axis
  • 1 Y axis
  • 2 Z axis
rotAngle
The number of degrees to rotate about the axis.
parentChild
If set to 0, the child is rotated about its own axis. If set to 1, the parent is rotated about the child’s axis.

Example

To rotate a joint around the child’s X axis by 25 degrees specifying the collector that contains the system for the elbow joint:

*relativerotatedummyjoint(components, 1, 0, 25, 0)

Errors

None.