Activity › Forums › Adobe After Effects Expressions › Can anyone tell me why this expression is not working?
-
Can anyone tell me why this expression is not working?
Posted by David Cabestany on December 1, 2016 at 4:22 pmI’m not getting an error, it’s just not doing what is supposed to, when the needle gets close to the out point the layer does not scale down.
The expression works fine with a one dimensional property.Thanks in advance,
D.fadeDur = .25;
s=ease(time,outPoint,outPoint-fadeDur,100,0);
[s,s];David Cabestany replied 9 years, 5 months ago 2 Members · 12 Replies -
12 Replies
-
Dan Ebberts
December 1, 2016 at 4:48 pmTry it this way:
fadeDur = .25;
s=ease(time,outPoint-fadeDur,outPoint,100,0);
[s,s];Dan
-
David Cabestany
December 1, 2016 at 4:54 pmDidn’t work.
Same as before, the expression is not broken, I can see the values red and all that, but nothing happens.Maybe a bug?
-
David Cabestany
December 1, 2016 at 5:14 pmThis is really strange.
The expression is working, but is using the comp duration instead of the layer out point.
When I applied it to a different layer inside a different comp it behaved as expected. It’s only doing the odd behavior on this particular layer.I even tried creating a new variable, but even with that, it goes all the way to the end of the comp.
oP=thisLayer.outPoint;
fadeDur = .5;
s=ease(time,oP,oP-fadeDur,100,0);
[s,s]; -
Dan Ebberts
December 1, 2016 at 5:35 pmI just tried it, and it works perfectly for me. I’m not sure why it doesn’t work for you.
Dan
-
David Cabestany
December 1, 2016 at 5:38 pmCan I send you the project to take look? I just sent it to Adobe.
-
David Cabestany
December 1, 2016 at 5:49 pmThanks Dan.
Here’s the link:
https://dl.dropboxusercontent.com/u/35786640/outPointExpressionBUG.aep
It’s a stripped down version, it only includes the offending comp and another one where I tested the expression.
Please take a look at layer 1 “hexagonos ventanas Comped” inside comp “hexagonos ventanas” and then take a look at layer 3 “CDFA-seal-7cm-2col-spacing.ai” inside comp “logos cert”.Both layers have the same expression applied, but on the first instance it does not acknowledge the out point of the layer and instead goes all the way to the end of the comp whereas on the 2nd example it works as expected.
Thanks a lot for your help Dan.
-
Dan Ebberts
December 1, 2016 at 8:17 pmThat’s pretty strange. For some reason, the expression thinks the outPoint of hexagonos ventanas Comped is 11.0. If you move the CTI to the end of the layer and trim the layer (Alt+]), the expression works. I don’t get it.
Dan
-
David Cabestany
December 1, 2016 at 9:15 pmMe neither, I used keyframes instead to complete the assignment, but I reported the issue to Adobe, let’s wait and see what they have to say.
Thanks for taking the time to look into this.
D. -
David Cabestany
March 27, 2017 at 8:27 pmHey Dan,
Remember this odd issue I had a couple months ago with this expression?
It just came back on a different project.The expression is active, but it won’t do anything.
I applied it on a different layer and it works as expected.Di you ever figure out what was wrong? I couldn’t.
fadeDur = .5;
ease(time,outPoint,outPoint-fadeDur,100,0)
Reply to this Discussion! Login or Sign Up