Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Inherit Value from different Composition

  • Inherit Value from different Composition

    Posted by Gordon Grant on May 23, 2020 at 9:32 pm

    Hi

    I have Comp1 which sets colour values (Color 01, Color 02, Color 03, etc).

    I have 2 other comps that need to have the same values set in them. Is there a method to “inherit/copy” the values from Comp1 into Comp2 and Comp3? Otherwise I need to manually set the values in each comp and I am hoping to be able to automate that part.

    I tried to use the pick whip but I can’t get it to link across different compositions.

    I am using AE v17.1.0

    Thanks!

    Gordon Grant replied 6 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Andrei Popa

    May 24, 2020 at 6:42 am

    Here is some workaround so you don’t have to write the expression by hand.

    1. Copy the layer holding the color information to your current comp.
    2. Pickwhip to the color property.
    3. From the start of the expression generated, replace “thisComp” with “comp(Comp1)”.
    4. Delete the copied layer.

    Andrei
    My Envato portfolio.

  • Gordon Grant

    May 24, 2020 at 3:28 pm

    Thanks! FYI I ended up with the following expression (which works):

    comp(“Comp1”).layer(“Control Layer”).effect(“Color 04”)(“ADBE Color Control-0001”)

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