Activity › Forums › Adobe After Effects Expressions › Text expression to print a filters values
-
Text expression to print a filters values
Posted by Marshal Fontaine on January 12, 2017 at 3:47 amHi everyone,
Quick question, I’m trying to print the values of a transitions percentage amount using an expression. Thank you for your input.marshal
Marshal Fontaine replied 9 years, 6 months ago 2 Members · 5 Replies -
5 Replies
-
Dan Ebberts
January 12, 2017 at 4:16 amDo you mean like with a text layer?
thisComp.layer(“Blue Solid”).effect(“Linear Wipe”)(“Transition Completion”)
Dan
-
Marshal Fontaine
January 12, 2017 at 4:44 amThank 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!
-
Dan Ebberts
January 12, 2017 at 4:48 amOne way:
thisComp.layer(“White Solid 7”).effect(“Linear Wipe”)(“Transition Completion”).value.toFixed(0);
Dan
Reply to this Discussion! Login or Sign Up