Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Display object property as text in final image

  • Display object property as text in final image

    Posted by Ninetto Makavejev on April 23, 2007 at 4:52 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

    Dan Ebberts replied 19 years ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    April 23, 2007 at 4:59 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

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