Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Layer.copyToComp() still broken?

  • Layer.copyToComp() still broken?

    Posted by Constantin Maier on May 28, 2020 at 9:07 pm

    Hey everyone,

    I’m working on an After Effects script where I have to copy a layer from one comp to another. Does anyone know whether “Layer.copyToComp()” is still broken as the Docs say?:
    https://docs.aenhancers.com/layers/layer/#layer-copytocomp

    I tried it and seems to work fine, even when undoing the action if there are effects on the layer (what the Docs say is problematic). However, that may just be me and maybe under different conditions, AE will still crash.

    There’s a workaround to use app.executeCommand() to copy the layer, then switch the viewer to the other comp, paste it, and switch the viewer back. Still, this takes a little bit of time for AE to perform whereas copyToComp() is super quick. If possible I’d rather wanna use copyToComp() but if it crashes someone else’s AE, what’s the point, right?

    Does anyone know anything about the situation? Whoever can help, wins a free mention in a comment next to the function.^^

    Constantin

    http://www.constantin-maier.com

    Constantin Maier replied 6 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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