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. |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-ignoreInvisible(-ii)
|
boolean
|
|
||
|
||||
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");