How to Query a Bounding Box for an object

Hello people,

I am new to MEL scripting and I am working on a small project in Maya. I am trying to get the bounding box information in MAYA by using xform command,however it’s giving a syntax error or a message which says invalid use of maya object bounding box.:mad:

I tried this command in MEL:
float $dummy[]=’xform -bb pCubeShape1′; and it says syntax error. 🙁

Can anyone over here help me with a simple command.

Thanks in advance!

No Responses to “How to Query a Bounding Box for an object”

Post a Comment