Duplicate Comp Hierarchy Script
Posted: February 3rd, 2010, 6:16 pm
Hi,
Here's a script I wrote that creates a duplicate of a comp and it's complete hierarchy.
It recursively searches through the comp hierarchy and creates duplicates.
Then, it replaces the source of the layers with those new duplicates.
It also checks to make sure that the subcomps are duplicated only once, despite being used in multiple subcomps.
UPDATE: I've added some error checking to prevent a couple of problems.
Here's a script I wrote that creates a duplicate of a comp and it's complete hierarchy.
It recursively searches through the comp hierarchy and creates duplicates.
Then, it replaces the source of the layers with those new duplicates.
It also checks to make sure that the subcomps are duplicated only once, despite being used in multiple subcomps.
UPDATE: I've added some error checking to prevent a couple of problems.