::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 HyperMesh system whose unit vectors X, Y, or Z components are requested.
[str_systemVector]
The vector component direction for the unit vector.
Default = "X."
Optional.

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

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