0 Replies Latest reply on Jul 3, 2013 12:16 AM by Sasee

    How can I add  Polystar Points?

    Sasee Level 1

      var myComp = app.project.activeItem;

       

       

      var myFillColor = [0.5, 0.5, 1.0];

      var myPoint = 32;

      var myShapeLayer = myComp.layers.addShape();

      var myShapeLayerContents = myShapeLayer.property("ADBE Root Vectors Group");

      var myShapeGroup = myShapeLayerContents.addProperty("ADBE Vector Group");

      var myStar = myShapeGroup.property("ADBE Vectors Group").addProperty("ADBE Vector Shape - Star");

       

       

      var myShapeFill = myShapeGroup.property("ADBE Vectors Group").addProperty("ADBE Vector Graphic - Fill");

       

       

      myShapeFill.property("ADBE Vector Fill Color").setValue(myFillColor);

       

       

      //Ho can I add  Polystar Points

      myStar.property("ADBE Polystar Points").setValue(myPoint);