Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Referencing the expression of another layer

  • Referencing the expression of another layer

    Posted by Ben Frank on November 4, 2009 at 5:57 pm

    So i have a somewhat lengthy expression that will be applied to all transform properties of all layers in a project. i would like to be able to easily update this expression and have that update ripple through all elements using it. my question is: is there a way to dynamically copy the expression of another layer? does the expression field itself have a name that i can use to copy it?

    i want to do something like this:

    thisComp.layer("layer_name").transform.position.expression;

    where “expression” at the end is whatever the name of the expression field is. any help would be greatly appreciated.

    ben


    Check out my food blog: https://iAteThat.com

    benfRank
    art direction / broadcast, print & web design / photography
    WEB: http://www.behance.net/benfrank/Frame
    WEB: http://www.benfrankdesign.com
    WEB: http://www.benfrankphotography.com

    Eric Sanderson replied 16 years, 6 months ago 3 Members · 2 Replies
  • 2 Replies
  • Xinlai Ni

    November 4, 2009 at 6:33 pm

    Unfortunately no, you have’ to manually update it one by one every time you change your expression.
    But a simple script may do what you want.

    Xinlai Ni
    Software Engineer, Google Inc.

  • Eric Sanderson

    November 4, 2009 at 7:46 pm

    Dont know of a way to auto update it but the is a “copy expression only” option in edit that should make what your trying to do pretty painless.

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