Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
jmcadam2
Topic Author
Posts: 1
Joined: Fri Oct 27, 2017 7:59 am

Path value to position property as keyframes

Fri Oct 27, 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

Who is online

Users browsing this forum: No registered users and 2 guests