Hi guys, how´s going?
i need a script to move selected objects to a specific layer (in this case, a layer named "**delete"). would be nice if the script create the layer if it does not exist.
Thanks in advance for any help.
Jsrocha
Forum topic · Scripts Wanted
By jsrocha · 2013-03-20
Hi guys, how´s going?
i need a script to move selected objects to a specific layer (in this case, a layer named "**delete"). would be nice if the script create the layer if it does not exist.
Thanks in advance for any help.
Jsrocha
Comments (1)
Comment policy
Layermanager.newLayerFromName
You can't use the "**" in a layer name. This should do the trick. Also you can't create multiple layers with the same name so it wont hurt to run the first line multiple times.