Path value to position property as keyframes

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
jmcadam2
Posts: 1
Joined: October 27th, 2017, 7:59 am

October 27th, 2017, 8:13 am

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
Post Reply