::hwat::utils::RotateSystem
Rotate the given system.
Syntax
::hwat::utils::RotateSystem systemid angle x-axis y-axis z-axis origin-x origin-y origin-z
Arguments
- systemid
- The ID of the system to rotate.
- angle
- The angle in degrees to rotate the system by.
- x-axis
- x component of the axis about which to rotate the system.
- y-axis
- y component of the axis about which to rotate the system.
- z-axis
- z component of the axis about which to rotate the system.
- origin-x
- x-coordinate of the origin of the axis.
- origin-y
- y-coordinate of the origin of the axis.
- origin-z
- z-coordinate of the origin of the axis.
Returns
- Success
- 1
- Failure
- {}
Example
::hwat::utils::RotateSystem 102 –45 1.0 0.0 0.0 0.0 0.0 0.0
Comments
The system is rotated relative to its previous position.