::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.
::hwat::utils::BoundingBox assemName option (components or shells)
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). |
A list of the form {MinX MinY MinZ MaxX MaxY MaxZ} if successful, {} otherwise.
::hwat::utils::BoundingBox "Vehicle" "components"
The shells option may be useful to ignore mass or solid elements that may cause the calculation to return an undesirable result.