Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Time correspondence between a layer in precomp and a comp master

  • Time correspondence between a layer in precomp and a comp master

    Posted by Julie Guerineau on January 5, 2024 at 6:52 pm

    Hello everyone,

    It’s not easy to explain clearly what I want to do, but I’ll do my best.

     

    I have a MASTER composition in which there is a pre-composition called “branding”.

    In this “branding” pre-composition, there is a pre-composition called “rush”. I’d like the IN and OUT of this precomp to correspond to the IN and OUT points of the “branding” precomp in the MASTER composition.

    In fact, I’m trying to apply a time-rempapping that would make it possible to say: if in the MASTER composition the IN point of the “branding” precomp is 1 min, then the IN point of the “rush” precomp will also be 1 min (and the same for the OUT point).

    I could then move the “branding” precomp in time in the MASTER composition and the “rush” precomp inside would follow.

     

    Sorry for the lack of clarity.I can explain with a drawing if necessary.

    Thank you very much for your help!

    Brie Clayton replied 2 years, 6 months ago 4 Members · 5 Replies
  • 5 Replies
  • Hector Vera

    January 8, 2024 at 6:32 pm

    Never really worked with this on After Effects myself about have you checked this video: https://www.youtube.com/watch?v=-jQDqm0RL1s

    This can give you an idea on how Pre-Comps and Compositions works. Hope it can somewhat help with the issue you could be having with them. 🙂

  • Julie Guerineau

    January 8, 2024 at 9:00 pm

    Thanks Hector for your reply.

    I think my explanations were really bad because I haven’t absolutely no problem dealing with pre-compositions. I have a senior level with After Effects so it’s not the problem.

    I’m looking for an expression to manage time as I have to temple a project for clients that can be quickly and easily modified..

    I’ve already seen expressions used with precomp and time-remapping but not exactly in this way, so this is what I’m looking for.

  • Dan Ebberts

    January 8, 2024 at 9:57 pm

    I think it might just be a time remapping expression like this for the rush layer:

    L = comp("MASTER").layer(thisComp.name);
    linear(time,L.inPoint,L.outPoint,0,L.outPoint-L.inPoint);
  • Julie Guerineau

    January 8, 2024 at 10:24 pm

    Thank you very much, Dan. Always the best 🙂

    It works! I only kept part of the expression otherwise the time was stuck on 0.

    L = comp("MASTER").layer(thisComp.name);
    linear(time,L.inPoint,L.outPoint)

    Many thanks to you!

  • Brie Clayton

    January 8, 2024 at 11:03 pm

    Thank you for solving this, Dan!

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