::hwat::utils::BoundingBoxFromCompList

This function calculates the bounding box from the given list of components.

Syntax

::hwat::utils::BoundingBoxFromCompList n_compList

Arguments

n_compList
A Tcl list of component IDs.

Returns

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

Example

::hwat::utils::BoundingBoxFromCompList [list 1 2 3 4 5]