Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Shape position relative to end of line layer

  • Shape position relative to end of line layer

    Posted by Markus Stone on July 11, 2019 at 6:29 am

    Hey all,

    I’m trying to make a template for a lower third graphic.

    The below graphic animates on nicely. Text goes over the center bar.

    All good.

    But the length of text will change (people will have different names), so I want the two circles on either end to maintain a fixed position relative to the ends of the line.

    My understanding is that expressions can’t access XY co-ordinates of shape vertices (only scripts can).

    Anyone have any ideas?

    Cheers

    Markus

    Markus Stone replied 6 years, 9 months ago 2 Members · 5 Replies
  • 5 Replies
  • Markus Stone

    July 11, 2019 at 7:32 am

    Here is a video of the desired effect.

    I can achieve the desired effect – just hoping to standardise the interface so I don’t have to move the smaller circles by eye everytime there’s a new name

    https://youtu.be/2ejGh2oX-WY

    Cheers

    Markus

  • Walter Soyka

    July 11, 2019 at 1:06 pm

    [Markus Stone] “My understanding is that expressions can’t access XY co-ordinates of shape vertices (only scripts can).”

    Actually, there’s a new feature that will help you. Expressions got access to path points in Ae CC 2017 (v15).

    See the reference here for more:
    https://helpx.adobe.com/after-effects/using/expression-language-reference.html#Expressionaccesstopathspointsonshapesmasksandbrushstrokesexpressionreference

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Markus Stone

    July 14, 2019 at 12:25 pm

    Thanks!

    It looks like the very thing I need, only I can’t get it to work because I’m still so new to the magic of expressions.

    This is what I have. I’ve played with a bunch of permutations too;

    thisComp.layer(“Shape Layer 1”).content(“Rectangle 1”).content(“Rectangle Path 1”).position.points(1);

    I keep getting the error that (the above line) “is not a function”.

    I assume that means my syntax sux, but I don’t know what to change here.

    I would be very greatful for a little nudge in the right direction.

    Cheers
    Markus

  • Walter Soyka

    July 22, 2019 at 2:58 pm

    Sorry for the delay, Markus. What information exactly is that you’re trying to get with this line? (I can help you to write the expression, but I’m trying to understand clearly what you are looking for from your attempt.)

    thisComp.layer(“Shape Layer 1”).content(“Rectangle 1”).content(“Rectangle Path 1”).position.points(1);

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Markus Stone

    July 23, 2019 at 12:51 am

    Thanks Walter,

    Dan Ebberts resolved the issue in this thread https://forums.creativecow.net/thread/227/42354

    Cheers and thanks for getting back to me.

    Markus

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