Go to: Synopsis. Return value. Flags. Python examples.
exactWorldBoundingBox(
[dagObject...]
, [ignoreInvisible=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
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
|
|
||
|
||||
import maya.cmds as cmds bbox = cmds.exactWorldBoundingBox( 'sphere1', 'cube1', 'cone2') print 'Bounding box ranges from: %f' % bbox[0], ', %f' % bbox[1], ', %f' % bbox[2], print ' to %f' % bbox[3], ', %f' % bbox[4], ', %f' % bbox[5]