Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Link to expression in precomp, but unique to each time precomp is used.

  • Link to expression in precomp, but unique to each time precomp is used.

    Posted by Christiaan Vee on November 8, 2022 at 3:36 pm

    I’m unsure how to link to an expression in a precomp multiple times.

    Example… In ‘Base_comp’ I have three layers of the same ‘Pattern_comp’.

    In ‘Pattern_comp’ I have a dropdown menu that specifies ‘Pattern A’, ‘Pattern B’ and ‘Pattern C’, which then displays the corresponding pattern.

    What I would like to do is in ‘Base_comp’ on layer 1 add a dropdown menu set to 1, which would then select Patter A. On layer 2 I could have the dropdown set to 2. Layer 3 = 2 (or whatever). So each layer would have a different dropdown that each drives the dropdown in the corresponding precomp.

    What I tried to do, which obviously didn’t not work, is pick whip the ‘Pattern_comp’ dropdown menu to the ‘Base_comp’ layer 1 dropdown. Gives me correct pattern on layer 1, but not layer 2 or 3.

     

    Hope that is clear. Any help is greatly appreciated.

     

     

    Christiaan Vee replied 3 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 8, 2022 at 4:41 pm

    I don’t think you’re going to be able to make that work. You’ll need to duplicate your Pattern_comp in the Project panel, not as a layer in your Base_comp, then you should be able to link each copy independently.

  • Christiaan Vee

    November 8, 2022 at 4:57 pm

    Thanks for the reply, I agree I don’t think it’ll work.

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