Page 1 of 1

Make a script to parent bottom layer to current selected layer.

Posted: Wed Feb 15, 2017 11:22 pm
by lolec
Hello, I've got this very repetitive task that I perform dozens of times per hour, I need to parent the layer right under the selected layer to the selected layer. Ideally I would assign a shortcut to this script. 

Problem is, I read through the documentation, searched forums and I can't understand how to do it. Can anyone point me in the right direction?

Thanks!

Re: Make a script to parent bottom layer to current selected layer.

Posted: Wed Feb 15, 2017 11:47 pm
by zlovatt
I've written something like this before, you can view it here. Only difference is, in this case the selected layers parent to the layer above, not the other way around.

Save this somewhere, select each layer you want to be parented, and then run the script and it will parent each selected layer to the layer above it.

Re: Make a script to parent bottom layer to current selected layer.

Posted: Thu Feb 16, 2017 12:09 am
by lolec
this was even better than what I imagined!, It will literally saved me hundreds of hours of clicking, this is f amazing :)