Almost there This works, almost. When I say, exclude switching “Mainlayer” and its nested layers on, I meant to ignore it no matter what the current …
Thanks Denis But that still pretty much works like I have it in my 1st code example I need to exclude ”MainLayer” from being switched on as well as…
denisT: fn setAllLayersOn state = ( for k=0 to layerManager.count do (layerManager.getlayer k).on = state ) fn setLayerOn name state = ( if…
We replied at same time If I change it to “on” I still get: Unknown property: “on” in undefined (line 4)
if I for example declare state in the beginning as true, then I get an error about “on” being an unknown property…
Hi Denis Thanks for the reply. However I’m not sure I understand what you are saying Running you code gives me this result: – Error occurred in k lo…
Thanks Denis
Thanks that works perfectly!
Thanks Daniel, that did the trick. I was also feeding my progress bar integer values instead of float values. Finally working now. Thanks to everybody…