Description Appends a rotation operation to the selected entity about an arbitrary direction passing through the origin in the specified coordinate system. Currently there is no script command equivalent to the "Rotate about an arbitrary axis" as found in the GUI. This operation is accomplished by using a RotateAxis followed by a Shift.
Syntax RotateAxis n, coord, x, y, z, angle
Parameters n As Long Node number of the entity.
coord As Long Node number of the coordinate system under which this operation is applied.
x As Double X-component of direction vector.
y As Double Y-component of direction vector.
z As Double Z-component of direction vector.
angle As Double Angle of rotation in degrees.
See Also
Examples
|