Skip to main content
Participant
Feb 11, 2020 9:47 PM UTC
Question

Position text/shape relative to bottom of layer with SourceRectAtTime()

I need to position a text layer (inside an auto-scaling shape box) relative to the text layer above it.

My goal is to produce an essential graphics file with dynamic text boxes vertically positioned.


i.e.


HEADING
HEADING SECOND LINE

Paragraph starts here, relative to heading above.

Second paragraph starts here, relative to paragraph above.


I've managed to sort of get this working through parenting and anchor offset. However when I type more than one line into the first or second paragraph above, the position alignment goes off.

I think this is due to the auto-scale text box using a centre anchor position.

I've used this tutorial here to create the auto-scaling text boxes.
https://www.youtube.com/watch?v=In4miXUdxko

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Mylenium
Legend
Jan 5, 2023 2:29 PM UTC

You cannot have things that way. AE has no way of looking inside the internal formatting of a text block. All text blocks must be separate layers and then of course you can add up the different sourceRectAtTime() values or whatever is used.

 

Mylenium

Translate
Participant
Jan 5, 2023 12:18 PM UTC

Hi,

 

Did you ever work this out? I'm trying to do the same thing

 

Thanks

L

Translate