HyperWorks Tools

::hwat::core::FindDummyAngleToRotate

::hwat::core::FindDummyAngleToRotate

Previous topic Next topic No expanding text in this topic  

::hwat::core::FindDummyAngleToRotate

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

NAME

::hwat::core::FindDummyAngleToRotate - Finds the angle the system has to rotate about a particular axis in order to align the base and target nodes.

 

SYNTAX

::hwat::core::FindDummyAngleToRotate n_systemId n_baseNode n_targetNode str_axis

 

ARGUMENTS

n_systemId

The ID of the system.

n_baseNode

The ID of the base node.

n_targetNode

The ID of the target node.

str_axis

The axis about which to rotate.  The possible options are: 0 = x-axis, 1 = y-axis, 2 = z-axis, (default = "2").

 

RETURNS

The angle to rotate if successful, {} otherwise.

 

EXAMPLE

::hwat::core::FindDummyAngleToRotate 12002 151987 123308 "0"

 

 

See also

Core Functions