Copy link to clipboard
Copied
I am trying to come up with a way to round corners (simillar to rectangale roundness) of custom shapes made with pen tool. But first I would like to know if there any way at all to access and change the path data via script or expression? I was checking docs and haven't found much
You can access path data via both scripts and expressions, although the syntax is somewhat different. With expressions, you use the path.points(), path.inTangents(), and path.outTangents() methods. With scripting you access a shape object and use the shape.vertices, shape.inTangents and shape.outTangents attributes. Everything you need is in the AE Help or AE Scripting Guide.
Copy link to clipboard
Copied
You can access path data via both scripts and expressions, although the syntax is somewhat different. With expressions, you use the path.points(), path.inTangents(), and path.outTangents() methods. With scripting you access a shape object and use the shape.vertices, shape.inTangents and shape.outTangents attributes. Everything you need is in the AE Help or AE Scripting Guide.