ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

After effects scripted path vertices

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
jeff orlach
After effects scripted path vertices
on Jul 3, 2017 at 8:36:28 pm

Hi,
in my comp I have a shape with a path, and i'd like to code the coordinates of that path. (only 2 points)
I tried many codes I'm stuck with this code at the moment :


Any ideas?
thanks alot

var shape = content("Shape 1").content("Path 1").property("ADBE Vectors Group");
var path = shape.value;
path.vertices = [[100,100],[100,200]];
shape.setValue(path);



Return to posts index

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