Skip to main content
Participant
October 20, 2020
Answered

How to link text properties between different text layers?

  • October 20, 2020
  • 2 replies
  • 1526 views

I have a composition with text animation and I want to make a MOGRT template. But the problem is I have 3 text layers (the same text, but different effects and animation applied) and I don't know how to link them together correctly.

Now I have all Source Texts linked to the first text layer and this first layer is linked to Essential Graphics panel, so I can change the text from the panel and it works ok. But whan I want to change the font style (character), only the first text layer is changing. Is there any way to solve it? Is it possible to link text properties somehow?

Many thanks in advance!

 

This topic has been closed for replies.
Correct answer Roland Kahlenberg

Drop this Expression into the sourceText property of the 'child' Text Layers.
--------------------------------------------------------------

sauceText = thisComp.layer("Sauce").text.sourceText;
sauceText.style.setText(sauceText)

HTH

2 replies

Roland Kahlenberg
Roland KahlenbergCorrect answer
Legend
October 29, 2020

Drop this Expression into the sourceText property of the 'child' Text Layers.
--------------------------------------------------------------

sauceText = thisComp.layer("Sauce").text.sourceText;
sauceText.style.setText(sauceText)

HTH

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
IngmariAuthor
Participant
November 2, 2020

Magic! It works!!! thanks a lot!!

Roland Kahlenberg
Legend
November 2, 2020

You're most welcome and thanks for reporting back.

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Mylenium
Legend
October 21, 2020

Read up on using text style expressions in the online help. There may be limitations, though, as generally some stuff in templates simply doesn't evaluate correctly.

 

Mylenium

IngmariAuthor
Participant
October 29, 2020

Thank you for your answer! Yes, I've found in Adobe guidelines

"Please note that forwarding Source Text via expressions does not work with Font Properties"

and it confused me even more. How, in this case, the other projects with text effects are made?