View Full Version : Layer Toggle
Does anybody know MEL script to toggle all the layers on/off?
Thanks.
|
|
jHromika
04-26-2003, 03:04 AM
setAttr "controlCurves.visibility" 1;
where controlCurves is the layer name
then of course 1 for visible, 0 for not visible
And I was just about to pat myself on the back, until I re-read your question :D
The only way I could think of doing it for all layers, would be to edit the script each time you made a new layer, adding the above line appropriate to the layer name. (I'm a total newb to MEL, it's a free time thing, and we all know how often we see free time)
So, if this is no help to you, sorry, but if it is, glad to help! :)
Sammy
04-26-2003, 03:05 AM
check out the layerManager mel script on www.highend3d.com ... seems to do what you're asking
-Sammy
CGTalk Moderation
01-14-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.