ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Text expression to print a filters values

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
marshal fontaine
Text expression to print a filters values
on Jan 12, 2017 at 3:47:38 am

Hi everyone,
Quick question, I'm trying to print the values of a transitions percentage amount using an expression. Thank you for your input.


marshal


Return to posts index

Dan Ebberts
Re: Text expression to print a filters values
on Jan 12, 2017 at 4:16:40 am

Do you mean like with a text layer?

thisComp.layer("Blue Solid").effect("Linear Wipe")("Transition Completion")


Dan



Return to posts index

marshal fontaine
Re: Text expression to print a filters values
on Jan 12, 2017 at 4:44:44 am

Thank you Dan,

That's exactly what I meant! Is there any way to clip or round to the decimals?
I did look and there are quite a few solutions on rounding, I just haven't figured out how to interpret it for this situation. So far I just get NAN (which is mildly better than the orange "This project contains an expression error: error x of x"

thisComp.layer("White Solid 7").effect("Linear Wipe")("Transition Completion");
Math.round("Transition Completion")



Thanks again!


Return to posts index


Dan Ebberts
Re: Text expression to print a filters values
on Jan 12, 2017 at 4:48:50 am

One way:

thisComp.layer("White Solid 7").effect("Linear Wipe")("Transition Completion").value.toFixed(0);


Dan



Return to posts index

marshal fontaine
Re: Text expression to print a filters values
on Jan 12, 2017 at 3:10:16 pm

Ahhh I see. That did the trick. Thank you Dan!


Return to posts index

marshal fontaine
Re: Text expression to print a filters values
on Jan 13, 2017 at 2:14:56 am

Thank you Dan! Worked like a charm.


Return to posts index

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