HyperWorks Tools

::hwat::utils::BoundingBox

::hwat::utils::BoundingBox

Previous topic Next topic No expanding text in this topic  

::hwat::utils::BoundingBox

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

NAME

::hwat::utils::BoundingBox - This function calculates the bounding box around the given list of components or elements and returns the dimensions of the bounding box.

 

SYNTAX

::hwat::utils::BoundingBox assemName option (components or shells)

 

ARGUMENTS

assemName

The HWAT assembly name.

option

Either components or shells.

"components" uses the HM internal function which is faster.

"shells" calculates the bounds considering only the shell elements in the assembly (default = components).

 

RETURNS

A list of the form {MinX MinY MinZ MaxX MaxY MaxZ} if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::BoundingBox "Vehicle" "components"

 

Comments

The shells option may be useful to ignore mass or solid elements that may cause the calculation to return an undesirable result.

 

See also

Utils Functions