HyperWorks Tools

::hwat::utils::GetMinMaxFromElements

::hwat::utils::GetMinMaxFromElements

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetMinMaxFromElements

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

NAME

::hwat::utils::GetMinMaxFromElements - Returns the 2-D bounding box formed by the elements on the plane defined by the arguments.

 

SYNTAX

::hwat::utils::GetMinMaxFromElements {elems} n_zNode n_oNode n_xNode

 

ARGUMENTS

elems

A Tcl list of element IDs.

n_zNode

The ID of the node which defines the tip of the plane's normal.

n_oNode

The ID of the node which defines the tail of the plane's normal.

n_xNode

The ID of the node which defines the x-axis.

 

RETURNS

A Tcl list of the form xmin, ymin, xmax, ymax if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::GetMinMaxFromElements [list 102 103 104] 10 23 50.

 

Comments

The vector defines the z-axis.

 

See also

Utils Functions