HyperWorks Tools

::hwat::utils::RotateEntity

::hwat::utils::RotateEntity

Previous topic Next topic No expanding text in this topic  

::hwat::utils::RotateEntity

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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

1 if successful , {} if unsuccessful.

 

EXAMPLE

::hwat::utils::RotateEntity [list 102 103 104] nodes –45 1.0 0.0 0.0 0.0 0.0 0.0

 

 

See also

Utils Functions