Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Update multiple expressions using one master expression? Or a text layer that contains the expression text?

  • Update multiple expressions using one master expression? Or a text layer that contains the expression text?

    Posted by Robert Headrick on May 1, 2014 at 3:16 pm

    Hope I can phrase this in a way that makes sense. I’m using one of Dan Ebbert’s overshoot expressions to add a subtle overshoot/swing to text layers that are rotating into place. I have lots and lots of text layers, and I want them all to have the same motion. However, if I were to decide later that I want more or less overshoot, or wanted to tweak the motion in any way, I would have to manually copy and paste the updated expression into the rotation property for each individual layer… lots of manual work.

    Is there a way to tell a property to use an expression that’s located elsewhere as its own expression? For example, what I tried and failed to do was to write the expression in a text layer, and then use the Source Text property of that text layer as the expression on my rotation. That doesn’t work, but something tells me maybe there’s a way to do something similar? I just want to be able to update a single instance of my expression and have all the other instances mimic it without having to manually replace them. Make sense at all?

    Thanks!

    Chris Gosling replied 12 years, 2 months ago 4 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    May 1, 2014 at 5:46 pm

    You can execute an expression saved in the source text of a text layer, like this:

    eval(thisComp.layer(“expression text”).text.sourceText.value)

    However, it’s not particularly efficient. As an alternative, I would look at tying the expression’s parameters (frequency, amplitude, etc.) to master controls on a control null.

    Dan

  • George Goodman

    May 1, 2014 at 6:23 pm

    That’s a feature request I’ve submitted a few times. You should do the same:

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

    “|_ (°_0) _|”

    Sincerely,

    George

    http://www.vimeo.com/georgegoodman
    http://www.linkedin.com/in/georgefranklingoodman

  • Robert Headrick

    May 1, 2014 at 6:24 pm

    Thanks Dan! Your first point is exactly what I was looking for, and your second point is even better. 🙂

  • Chris Gosling

    May 27, 2014 at 11:57 am

    Had the same problem and I ended up buying pt_ExpressEdit 2 from the aescripts.com website. Makes the process of dealing with multiple expression layers easy.

    I am not the developer, just a big fan.

    Chris

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