Hello
I'd like to now if somebody could make a speed script to freeze all LAYERS except active layer ON and OFF (with the same script : same hotkey )
Thanks !!! :-)
Forum topic · Scripts Wanted
freeze all but non active layer switch
By titane357 · 2010-09-24
Comments (8)
Comment policy
thanks for this!
Really strange... the macros works fine here (Max2009).
Did you like to make a version without callbacks though?
hello !
I work with max2011 design... it is perhaps why this don't works... :-(
Yes, if you could just make a version to freeze non active layer, and to unfreeze all layers, I'd be very happy (no problem if there were already frozen layer)
I find that it would be very handy when working for archviz : freeze other layers and not hide them, so we can have guidelines that man can't move or select by error...
Ok, glad to help, you know ;)
I made new macros version + separate macros for unfreezing all layers, cheers.
Attachments
Thanks again Anubis !!!
I really enjoy these scripts for archviz.
I add a line so I can freeze all but non selected object layer.
if selection[1] != undefined do
(
selection[1].layer.current=TRUE
(
for i = 0 to LayerManager.count-1 do (LayerManager.getLayer i).isFrozen = on
(LayerManager.current).isFrozen = off
)
)
If that can be usefull for somebody...
Thanks for answers !
Unfortunaly Insanto I got an error.
Anubis I tested the .mcr and I can freeze all layers except active one BUT
I can't manage (with shift key) to return to original config, even 'by hand'
I can't manage anymore to switch freeze/unfreeze layers....
??.?
Hi Titane, try attached script, cheers.
Well, 1st version not required any user activity, but not looks to me very flexible because cannot turn off the callback, so I wrote 2nd (macro script) version to can switch on/off the RVCallback function. Enjoy ;)
Attachments
here you go:
toggles freezing of nodes for every layer except the active one.