Answered
How to call for graphic line length using extendscript?
So for example, if you run this code:
myLayer = app.activeDocument.layers.add({name:"Line"})
app.activeDocument.graphicLines.add(myLayer, undefined, undefined, {geometricBounds: [10,10, 13, 14]})You see it creates a line. If you go into the properties of the line you can see that the line's length is 5.
How can I call for this length value in Extendscript? Sure, I can do some math using the geometric bounds but I'm curious if there's a way to call it directly?
Thanks,
Ben
