BIGAL Posted 6 hours ago Posted 6 hours ago New answer, when you draw a pline did you know you can pick start point, drag mouse for next point, BUT type in length no need for "L". Tested seems to work ok in original code. Starting point of Mleader Enter to stop : : _pline Select start of polyline or [Follow] <Last point>: Set next point or [draw Arcs/Distance/Follow/Halfwidth/Width]: 50 Set next point or [draw Arcs/Distance/Follow/Halfwidth/Width/Undo]: 75 Set next point or [draw Arcs/Close/Distance/Follow/Halfwidth/Width/Undo]: 100 Set next point or [draw Arcs/Close/Distance/Follow/Halfwidth/Width/Undo]: Existing length is 225 Enter new length 220 Enter label AAA Ok fixed the defun code, its messages may have been misleading. (defun plpts ( / pt) (command "_pline" (getpoint "\nStarting point of Mleader : ")) (while (= (getvar "cmdactive") 1 ) (command (getpoint (getvar 'lastpoint))) ) ) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.