Jump to content

Recommended Posts

Posted

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)))
)
)

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...