gilley
06-11-2007, 05:19 AM
I'm trying to figure out the command to get the "local" bounding box values for an object even though it has other objects parented to it. If you have objects parented together it will give you the total bounding box area of all objects in the hierarchy. The xform command doesn't seem to have any flags for "local" bounding boxes.
Basically I'm trying to modify the frameSelected command. FrameSelected uses the bounding box values to determine how far it zooms in on your object. Again, if the object you frameSelected is in a hierarchy it takes the other objects in the hierarchy into consideration when it performs frameSelected, which is no good for me. I want frameSelected to...frame whatever I have selected, reguardless of wether it's in a hierarchy or not.
Anyone have any ideas?
Basically I'm trying to modify the frameSelected command. FrameSelected uses the bounding box values to determine how far it zooms in on your object. Again, if the object you frameSelected is in a hierarchy it takes the other objects in the hierarchy into consideration when it performs frameSelected, which is no good for me. I want frameSelected to...frame whatever I have selected, reguardless of wether it's in a hierarchy or not.
Anyone have any ideas?
