Notifications
Clear all
[Closed] How to make layer "Active"
Oct 30, 2014 12:35 pm
Hi!
This command makes the layer of variable “k” visible. I’d like to know the command which make the layer also active.
(LayerManager.getLayer k).on=true
Thanks a lot.
5 Replies
Oct 30, 2014 12:35 pm
(LayerManager.getLayer k).current = true
or
AnimLayerManager.setLayerActive k
Oct 30, 2014 12:35 pm
Thank you Io, your first code works correctly.
There is also a code to change a Layer Color? Near the layer name there’s a little color square.
Thank you very much!
Oct 30, 2014 12:35 pm
LayerManager.Current.wireColor = red
You know, you could just check the help file, that’s what I’m doing to answer your questions.
Oct 30, 2014 12:35 pm
Ah well… thank you and sorry. I’m not a scripter, I just write my scripts copying and pasting from the listener, but for layer management there’s no listener output.
Anyway you’re right.
Thanks again man.