Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions One layer reading another layer’s expression?

  • One layer reading another layer’s expression?

    Posted by Navarro Parker on March 16, 2015 at 3:45 am

    I have an expression that uses out_point of a layer to trigger a change in opacity.

    If I pickwhip another layer’s opacity to that expression, it’ll use the source layer’s out_point. It copies that layer’s Opacity value (0~100) but not the expression itself.

    How can I get another layer to use the expression of the source layer, but not the value of that expression for that source layer? So each layer will use its own out_point, but all reading a common source expression?

    Dan Ebberts replied 11 years, 5 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    March 16, 2015 at 4:41 am

    There’s no way for an expression to access an expression in another property. There is a hack where you can store a common expression as text in a text layer and have each property retrieve that text and use eval() to evaluate the expression, but it’s probably more trouble than it’s worth.

    Dan

  • Navarro Parker

    March 16, 2015 at 10:57 pm

    Argh. That’s too bad. I’m assuming the eval() function of reading a text file off a drive has a big performance hit — esp if you have a ton of layers reading it.

    Whatever happened to Adobe Capsules? Weren’t they supposed to give nodal-type reusable expressions, but without the complexity of a true nodal system?

  • Dan Ebberts

    March 16, 2015 at 11:06 pm

    >…I’m assuming the eval() function of reading a text file off a drive…

    Oh yeah, that would be another way. 🙂

    Dan

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