Wednesday, March 22, 2006

Nifty Trick

[EDIT]
03-23-06
I discovered i typo in the code (fixed!)

Here's a nice trick for maya users. A bit of code to create a tear-off channel box. Compliments of JamesTHP from JAHD. I just modified it a bit.

You can turn it into a shelf button:

select -cl;
window;
formLayout form;
channelBox myChannelBox;
formLayout -e
-af myChannelBox "top" 0
-af myChannelBox "left" 0
-af myChannelBox "right" 0
-af myChannelBox "bottom" 0
form;
showWindow;

Very handy for saving some screen space!

mau.

No comments: