*rotatedummyrootbodytoeulerangles
Rotates a dummy about a given point.
Syntax
*rotatedummyrootbodytoeulerangles name ax ay az cx cy cz
Type
HyperMesh Tcl Modify
Description
Rotates a dummy about a given point.
The mechanism must have the enabled flag set to true for this to be possible.
Inputs
- name
- The name of the root body of the dummy.
- ax
- The desired x Euler angle of the dummy with respect to the global axes.
- ay
- The desired y Euler angle of the dummy with respect to the global axes.
- az
- The desired z Euler angle of the dummy with respect to the global axes.
- cx
- The x-coordinate of the center point.
- cy
- The y-coordinate of the center point.
- cz
- The z-coordinate of the center point.
Example
To move a dummy with root body named "Pelvis Angle Gauge" to Euler angles 10, 50 and 20 about the point (0,0,0):
*rotatedummyrootbodytoeulerangles "Pelvis Angle Gauge" 10 50 20 0 0 0
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.120