HyperWorks Tools

::hwat::utils::GetVectorsFromSystem

::hwat::utils::GetVectorsFromSystem

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetVectorsFromSystem

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

NAME

::hwat::utils::GetVectorsFromSystem - Extracts the X, Y, or Z vector of a system.

 

SYNTAX

GetVectorsFromSystem n_sysID str_systemVector {b_globalSystem}

 

ARGUMENTS

n_sysID

ID of the HM system whose unit vectors X, Y, or Z components is requested.

str_systemVector

The vector component direction for the unit vector. Default value is "X".

b_globalSystem

OPTIONAL.  Default = FALSE

FALSE -> give the vector relative to the parent of n_sysID.
TRUE -> give the vector relative to the global system.

 

RETURNS

A Tcl list containing the unit vector in the required direction.  The order of the vector components is "tipx tipy tipz tailx taily tailz."

 

EXAMPLE

::hwat::utils:: GetVectorsFromSystem [list Assem1 Assem3 Assem6]

 

 

See also

Utils Functions