drawBoundingBox
Creates a polygon cube object to encompass the bounding box area of the selected objects or components.
Supported selection types:
most (if not all) transform and geometry (shape) nodes
locators (yes, these were a special case!)
polygon components: vertex, edge, facet, UV
NURBS components: CV, edit point
particle components
The size and location of the bounding box are echoed to Maya's output in the form of:
<width (X)> x <height (Y)> x <depth (Z)> @ { X, Y, Z }
e.g.:
Bounding Cube: 1.38 x 1.36 x 1.08 @ { -1.61, 1.26, 1.28 }
Due to a BUG in Maya, all selected objects must be visible else the bounding box will be calculated incorrectly.