8 Replies Latest reply on Feb 3, 2017 12:15 AM by eboda_snaf

    problem with graphicLine geometric

    eboda_snaf Level 1

      hi there,

       

      i'm stuck with this problem.. i've created a line on page using JS.

       

      var myLine;
      myLine=app.activeDocument.graphicLines.add();

      myLine.geometricBounds = ['200mm', '0mm', '200mm','300mm'];
      myLine.strokeWeight ="8pt";

       

      when i select the line on page, it gives X: 0mm, Y:198.589mm,  L:300mm

      what i don't understand is why Y is not 200mm? How to make it 200mm.

       

      Thank you.