I have received many useful scripts from posting on this forums and today I am asking for help with a new one. I work on CGIs that require groups with masks for most of the elements in my render. This allows me to edit the individual elements easily. I have a script that imports all the groups and applies the correct masks from the .tif files I receive from rendering and it looks like this:
My problem is when I have to make changes or update an image and update these masks while keeping the adjustment layers within in them the same.
When I make changes to a CGI my process at the moment is to use my mask script again to import the new groups with the updated masks which leaves me with 2 sets of groups with masks. So 2x 'Doors', 2x 'WindowFrames' etc:
This is all fine until I now have to manually move all the layers from the out-of-date (for example) 'Doors' group to the new empty 'Doors' group with the same name. Is there a script that can move all the layers within the groups for me automatically?
This might not sound like much, but if I could do this via a script it would save me a lot of time on a weekly basis.
Please let me know if any of this is unclear or if I need to explain further.