ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to paste layer to multiple composition at once?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ujin Roh
How to paste layer to multiple composition at once?
on Jan 9, 2019 at 3:22:46 am

I copy a layer from one composition and paste it into another composition. But there are more than 100 compositions. Is there a way to paste the selected compositions in the Project panel at once?


Return to posts index

Oleg Pirogov
Re: How to paste layer to multiple composition at once?
on Jan 9, 2019 at 9:36:31 pm

In case you'd like to use a script, it's 2 lines of code literally:

for (i = 1; i<=app.project.numItems; i++){
if ((app.project.item(i).typeName=="Composition") && (i!=1)) app.project.item(1).layer(1).copyToComp(app.project.item(i));
}


This copies the layer (app.project.item(1).layer(1)) to all comps. That's assuming that deleting it from the wrong comps is easier than copying it to the target ones.


Return to posts index

Erik Borzi
Re: How to paste layer to multiple composition at once?
on Sep 7, 2019 at 8:09:08 pm

Oleg!

Thank You Very Much for this powerful script!!! It works great!

—Erik


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]