::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 HyperMesh system whose unit vectors X, Y, or Z components is requested.
str_systemVector
The vector component direction for the unit vector.
Default = "X".
b_globalSystem
FALSE
Give the vector relative to the parent of n_sysID.
Default
TRUE
Give the vector relative to the global system.

Returns

Success
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]