一半君的总结纸

听话只听一半君

#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.

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: