Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects How to paste layer to multiple composition at once?

  • How to paste layer to multiple composition at once?

    Posted by Ujin Roh on January 9, 2019 at 3:22 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?

    Nikhil Kannur replied 5 years, 11 months ago 5 Members · 4 Replies
  • 4 Replies
  • Oleg Pirogov

    January 9, 2019 at 9:36 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.

  • Erik Borzi

    September 7, 2019 at 8:09 pm

    Oleg!

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

    —Erik

  • Alex Bradley

    March 30, 2020 at 4:30 pm

    Hi!

    I’m hoping to paste a layer into multiple comps too. It sounds like this solution works, though could someone explain in a little more detail how to make the script run?

    Thanks

  • Nikhil Kannur

    June 3, 2020 at 12:01 pm

    could you please help in using this script, because I am a novice in scripting I can’t understand
    the working of this script.

  • Orlando Marconi

    October 3, 2020 at 3:01 pm

    Could you give a hint on how to apply this?

    What to modify for each case?

    I tried and failed.

    Thank you

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy