Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Contain Path Text to Path

  • Contain Path Text to Path

  • Matthew

    November 29, 2018 at 7:31 am

    Hi there!!!

    I’m currently using the Path Text option and keyframing “Last Margin” to move the text along the path.

    However, once the text reaches the end of the path itself it extends off of it.

    I want to keep it moving but for the last (and in fact first) letter to disappear the moment it leaves the path. (A little like the way clones behave in C4D).

    Currently I’m masking out the end of line but it looks messy.

    Is there a way to do this? With an expression?

    Thank you very much in advance.

  • Arthur Hakhverdian

    November 29, 2018 at 10:56 pm

    100- linear(text.pathOption.lastMargin,312,1510,0,100)
    Where 312 is the Left Margin value where text starts falling out of the path and 1510 is the value where the text completely falls out of the path. These values will vary for you.

  • Arthur Hakhverdian

    November 29, 2018 at 10:57 pm

    Please look into the attached project file to see where that expression was added.

  • Matthew

    November 30, 2018 at 7:22 am

    hi arthur

    this is really great! and VERY CLOSE to exactly what i’m looking for. thank you very much indeed.

    is there a way to

    a) have this at the start of the path too? so text before the first point is switched off.

    b) the fade out at the end of the line is very elegant – and i will use that in places – but is there a way to make the letters switch off abruptly without a fade?

    thank you again for your help with this. fyi it’s for a non-profit video about nutrition.


  • Arthur Hakhverdian

    November 30, 2018 at 8:56 pm

    Hi, Matthew.
    Yes, there is a way to do all of those things, but I’m busy right now. If no one else posts the solution by the time I’m free, I’ll provide you with an updated sample that does all of those things.

  • Arthur Hakhverdian

    December 1, 2018 at 3:52 am

    All right, Matthew, so here’s an updated file, which more or less should do what you were looking for:
    I set up a controller for you to specify the min/max margin overflow points after editing text. However, there’s an excess/shortage error that I couldn’t resolve because I was unable to figure out what to attribute it to.
    Maybe someone else can help with that one.
    I’d encourage to dissect the expressioned attributes to see what’s going on.
    Sorry 🙁

  • Matthew

    December 1, 2018 at 8:14 am

    Thank you very much indeed Arthur your time and expertise hugely appreciated.

Viewing 1 - 7 of 7 posts

Log in to reply.

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