FORUMS: list search recent posts

After Effects script to create a shape

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Arminas Saltenis
After Effects script to create a shape
on May 19, 2018 at 2:17:38 pm


In university we need to remake our ae project with only script. I have my project, now I need to write script for it. And I can't even start with basic shape creating, because it throws error: connectorGroup is undefined.
I think it's the one mistake for all my code, so here is part, where I'm trying to make shape, but it throws error:

var connector = myComp.layers.addShape(); = ("Connector");

var connectorContent ="Contents").addProperty("ADBE Vector Group");
var connectorRect ="Contents").addProperty("ADBE Vector Shape - Rect");
var connectorFill ="Contents").addProperty("ADBE Vector Graphic - Fill");"Size").setValue([300, 30]);"Position").setValue([960, 540]);"Color").setValue([255/255, 204/255, 153/255]);

Thank you!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved