Edit bounding box coordinates

Edit bounding box coordinates

Anonymous
Not applicable
605 Views
0 Replies
Message 1 of 1

Edit bounding box coordinates

Anonymous
Not applicable

Hi all,

 

I'm relatively new to python and coding in Maya so not sure how tricky this might actually be.

 

I'm attempting a small piece of code to speed up my rigging process and I'm using object bounding boxes as scale and translation references-of-sorts to match the controls to a certain height on the object (ie: top, middle, bottom). Only issue is, bounding boxes all share the same coordinate values which is a bummer if I want to use this for say 20 objects in one go each with different placements in the scene.

 

My question is: Is there a way to edit the bounding box coordinates (min/max X, Y, Z)?

 

Basically, I'm looking for a way to match a bounding box's position to that of it's parent object. 

 

Thanks loads!! ^^

 

0 Likes
606 Views
0 Replies
Replies (0)