::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
One of the following:
components
Uses the HyperMesh internal function which is faster.
shells
Calculates the bounds considering only the shell elements in the assembly.
Default = components.

Returns

Success
A list of the form {MinX MinY MinZ MaxX MaxY MaxZ}
Failure
{}

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.