HyperWorks Tools

::hwat::utils::GetSysVectors

::hwat::utils::GetSysVectors

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetSysVectors

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

NAME

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

 

SYNTAX

::hwat::utils::n_sysID str_systemVector {b_globalSystem}

 

ARGUMENTS

n_sysID

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

[str_systemVector]

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

 

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

set n_sysid [::hwat::utils::GetAttributeValue systems $n_entID "inputsystemid" integer]

::hwat::utils:: GetSysVectors $n_sysid

 

 

See also

Utils Functions