Go to: Synopsis. Return value. Flags. MEL examples.
exactWorldBoundingBox [-ignoreInvisible boolean]
[dagObject...]
exactWorldBoundingBox is undoable, NOT queryable, and
NOT editable.
This command figures out an exact-fit bounding box for the
specified objects (or selected objects if none are specified) This
bounding box is always in world space.
float[] |
xmin, ymin, zmin, xmax, ymax, zmax. |
ignoreInvisible
Long name (short name) |
Argument types |
Properties |
-ignoreInvisible(-ii) |
boolean |
 |
|
Should the bounding box calculation include or exclude
invisible objects? |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
float $bbox[] = `exactWorldBoundingBox sphere1 cube1 cone2`;
print("Bounding box ranges from: " +
$bbox[0] + "," + $bbox[1] + "," + $bbox[2] + ", to " +
$bbox[3] + "," + $bbox[4] + "," + $bbox[5] + ".\n");