I am using a Python script to calculate the end points of a line segment, (x1, y1) and (x2, y2). I then want to change the endpoints of a line on my user’s window to equal those two points. How can I change the coordinates of a line segment’s endpoints via Python script (in the Developer I can edit the endpoints and stipulate their coordinates, but I want to do it programatically)?
Any guidance would be helpful. Thanks,