2 Replies Latest reply on Oct 17, 2012 7:48 AM by Laubender

    create triangle with scripting

    watonnozelisdahier Level 1



      does someone know how to create a triangle with (x1,y1)(x2,y2) and (x3,y3) positions?


      For a rectangle i found this:

      app.activeDocument.rectangles.add({geometricBounds:[0, 144 , 214, 500] } )



      But this is not working for a triangle?


      Please Help