Discussion:
Building HUDs to test effects
(too old to reply)
N***@adobeforums.com
2008-08-07 14:17:59 UTC
Permalink
I'm trying to build some simple on-screens that displays the settings for some AE parameters.

For example, I'm trying to show how many particles per second Particular is generating.

I'm putting this into a text layer source. And it's not working. I'm trying to get either a integer or decimal display to 1/100s.

text = Comp.layer("White Solid 1").effect("Particular")("Particles/sec")
Math.round ( text )
D***@adobeforums.com
2008-08-07 15:17:32 UTC
Permalink
I see two problems. "text" is a reserved word, so I'd suggest "txt" as your variable name. Also, you need thisComp or comp("comp name") instead of Comp.

Dan

Loading...