Page 1 of 1

Inverse precomp (explode comp to its subcomps/layers)

Posted: August 20th, 2010, 7:31 am
by berniebernie
Hello fellow coders

I'm sure this has been written before, but I can't find it. Does anyone know a script that will do an 'inversed' precomp, if you choose a comp, it will take the elements and bring them into their parent comp ?

copying pasting layers works in terms of elements but loses whatever sacling/position there is if the comps don't match sizes.

I'll add info if you don't understand my problem


---COMP_A
------COMP_A_1
---------COMP_A_1_SUBITEM1
---------COMP_A_1_SUBITEM3
---------COMP_A_1_SUBITEM3
------COMP_B_1

becomes


---COMP_A
------COMP_A_1_SUBITEM1
------COMP_A_1_SUBITEM3
------COMP_A_1_SUBITEM3
------COMP_B_1

Re: Inverse precomp (explode comp to its subcomps/layers)

Posted: August 21st, 2010, 7:26 am
by lloydalvarez
I have never heard of such a script and it would be more complicated than you think to create. There would be a ton of considerations that would need to be handled. I would be a handy script though, just won't be easy to do.

-Lloyd

Re: Inverse precomp (explode comp to its subcomps/layers)

Posted: June 14th, 2011, 4:07 am
by berniebernie
Looks like it's been done ! Woohoo!

http://aescripts.com/un-precompose/