ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Display object property as text in final image

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
ninetto
Display object property as text in final image
on Apr 23, 2007 at 4:52:13 pm

OK, now this is not exactly the most creative gig I've received... but I have to animate a bar-graph whose values move up-and-down.

I have searched in vain for a command which will display an object's value e.g. Height=Y as text in a layer...

So lets forget Picasso for a moment and get reallll digital: anybody know a command line/expression to get this stupid-but-important info to display as text?

greetings,
ninetto




Return to posts index

Dan Ebberts
Re: Display object property as text in final image
on Apr 23, 2007 at 4:59:45 pm

Unless I'm not understanding what you're after (very possible), it would just be something like this:

thisComp.layer("bar graph layer").height;

If you're scaling the bar graph layer and want the height of the scaled version, it would be like this:

L = thisComp.layer("bar graph layer");
L.height*L.scale[1]/100;


Dan



Return to posts index

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