Hi There,
I am trying to make a callout style tool using the plugin manager and vectorscript, however I can't seem to work out how to make the main part of my plugin place after only two clicks.
I am trying to click at one point, where I want the start of my line, and then click a second point, where I want the end of my line and the rest of the object to place,
However I click once, and it starts getline fine, but after I click a second time getline disappears and then I have to click a third time for my object to place and the line to draw, but the third click won't be where I'd like it to be.
my code is:
with ptx1,pty1 being the initial first click, and ptx,pty being the second
{Draws Initial Line}
GetLine(ptx1,pty1, ptx, pty);
REPEAT
UNTIL
MouseDown(ptx,pty);
MoveTo(ptx1,pty1);
LineTo(ptx,pty);
Any help would be great.
I also can't seem to make the object one thing with parameters editable in the shape window, but thats an issue for later.
Cheers,
Nora