View Full Version : Editing working linear units via Mel

01 January 2008, 11:23 PM
Does anyone know of a way to change the working units in Maya via Mel? I want to have a mel command check the units and if it is anything other than meter I want it to change it to meter for me.


01 January 2008, 11:42 PM
currentUnit -q -linear ; //query unit
currentUnit -linear "meter" ; //set unit

01 January 2008, 12:01 AM
Man I feel like a tard! Not sure how I missed that. I have been looking for it forever and I swear I looked for it in the Mel Command reference at least once. Must not have been looking in the right place!

Thanks for the help!

CGTalk Moderation
01 January 2008, 12:01 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.