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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
calculateExactly (ce) | bool | ||
ignoreInvisible (ii) | bool | ![]() |
|
Should the bounding box calculation include or exclude invisible objects?Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.exactWorldBoundingBox
Example:
import pymel.core as pm
import maya.cmds as cmds
bbox = pm.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]