Page 1 of 1

Path value to position property as keyframes

Posted: October 27th, 2017, 8:13 am
by jmcadam2
You know how you can select a path property in After Effects, copy it, and then past that path property into the position property of a layer and it will create keyframe data from the path data?  I'm trying to do that same thing in extendscript.  Getting a paths value and setting it to another path property is fairly simple.  However, when I try to set a path value to a layer position property, I get an error.  I assume there is a step in which the path value needs to be converted with some function before the result is passed to the layer position property.  Does anyone know how to do this?

Thanks,
Ryan