Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change working units through a script

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
1577 Views, 1 Reply

Change working units through a script

Anonymous
Not applicable

Hey,

 

I was wondering if there was a way to change the working units (for example centimeters to meters) within a python script. I know you can go from windows -> preference -> settings, but I was wondering if there was a way to automatically do that from code rather than manually

 

Thanks

0 Likes

Change working units through a script

Hey,

 

I was wondering if there was a way to change the working units (for example centimeters to meters) within a python script. I know you can go from windows -> preference -> settings, but I was wondering if there was a way to automatically do that from code rather than manually

 

Thanks

Labels (3)
1 REPLY 1
Message 2 of 2
mspeer
in reply to: Anonymous

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

cmds.currentUnit( linear='meter' )

Hi!

 

cmds.currentUnit( linear='meter' )

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report