FORUMS: list search recent posts

Shape position relative to end of line layer

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Markus Stone
Shape position relative to end of line layer
on Jul 11, 2019 at 6:29:13 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


Return to posts index

Markus Stone
Re: Shape position relative to end of line layer
on Jul 11, 2019 at 7:32:45 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







Cheers

Markus


Return to posts index

Walter Soyka
Re: Shape position relative to end of line layer
on Jul 11, 2019 at 1:06:19 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.h...

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


Return to posts index


Markus Stone
Re: Shape position relative to end of line layer
on Jul 14, 2019 at 12:25:11 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]