Inverse precomp (explode comp to its subcomps/layers)
Posted: August 20th, 2010, 7:31 am
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
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