ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How do I get/copy the "red" values in properties which have expression applied?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Francesco Bona
How do I get/copy the "red" values in properties which have expression applied?
on Aug 5, 2017 at 9:59:13 am

Hy, as we all know if I add, for example, a wiggle expression to an object position I'll get the typical "red" values related to the global environment.

My problem is perhaps a bit stupid .. But I can not in any way copy those values.
I need to copy the global "red" value for x, y of a certain layer, in a certain time, to paste it in the position properties of another layer ... but If I try to do it values change from "global" to "local"

This means that the position is no longer related to the expression so these values are useless to me.
Is there a way to copy red values instead of blue values?
thanks!


Return to posts index

Dan Ebberts
Re: How do I get/copy the "red" values in properties which have expression applied?
on Aug 5, 2017 at 4:05:38 pm

There may be an easier way, but one way would be to open the Extendscript editor, run a script like this:

var myComp = app.project.activeItem;
var myLayer = myComp.layer(1);
var myVal = myLayer.property("Position").valueAtTime(myComp.time,false);
$.writeln(myVal);

and copy the the result from the JavaScript Console panel.

Dan



Return to posts index

Francesco Bona
Re: How do I get/copy the "red" values in properties which have expression applied?
on Aug 5, 2017 at 5:35:56 pm

I'm really sorry! I clicked "report post" instead of "replay" !!! ......
Anyway I have no idea how to use the extendedscript toolkit ...


Return to posts index


Dan Ebberts
Re: How do I get/copy the "red" values in properties which have expression applied?
on Aug 5, 2017 at 7:32:05 pm

OK, better idea. Select the property, then Animation > Keyframe Assistant > Convert Expression to Keyframes. Harvest the resulting value and then Undo, if necessary.

Try not to report me this time. โ˜บ


Dan



Return to posts index

Francesco Bona
Re: How do I get/copy the "red" values in properties which have expression applied?
on Aug 6, 2017 at 12:58:03 am

๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑThat is the procedure I have used so far! I swear!
I did not say that because I thought it was a method for newbies like me ..
So it's official: there's no a simple way to do such a simple thing .. Unbelievable!
But thank you very much ! I promise I will not report you! ๐Ÿ˜


Return to posts index

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