MEL How-To #33
How do I change units (e.g. Angular or Time) via MEL?
Surprisingly enough, the command for this is currentUnit.
To set the Angle Unit to "radians":
currentUnit -angle radian;
To set the Time Unit to PAL:
currentUnit -time pal;
Refer to Maya's online docs ("MEL Command Reference") for more details and examples.
|Copyright ©2005 by Bryan Ewert, firstname.lastname@example.org|
Maya is a Registered Trademark of Alias