::hwat::utils::RotateEntity

Rotate the given entity.

Syntax

::hwat::utils::RotateEntity idList type angle x-axis y-axis z-axis origin-x origin-y origin-z

Arguments

idList
The ID or list of IDs of the entity type to rotate.
type
The type of the entity.
angle
The angle in degrees to rotate the entity by.
x-axis
x component of the axis about which to rotate the entity.
y-axis
y component of the axis about which to rotate the entity.
z-axis
z component of the axis about which to rotate the entity.
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::RotateEntity [list 102 103 104] nodes –45 1.0 0.0 0.0 0.0 0.0 0.0