Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

Creating window with mel script

anyone know how to write a mel script in maya to create a window that allows me to quick change the currentUnit settings?

so far im stuck here :

string $window = `window`;
columnLayout;
string $node = `currentUnit`;
attrEnumOptionMenu -label "Unit" -attribute ($node + " -linear");
showWindow $window;


which is obviously wrong. I can't figure out what's the name of currentUnit's attributes. can't seem to figure it out. it would be a big help if anyone knows how.
Sign In or Register to comment.