Message 1 of 16
get bounding box in local space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am looking to get the bounding box size of an object in local space, not in world space. So no matter which way the object is rotated it will always give me the same X, Y, and Z.
I did try this, but it only does it in world space. (the object I am selecting is a group node with meshes underneath it
cmds.xform(mesh, bb=True, q=True, os=True)
I know I can also do this, but i dont see any flags to do local space, so it just returns in world space as well
cmds.getAttr("mesh.boundingBoxSizeX")Are there any commands that will give me the bounding box in local space?
Thanks
Craig