Jump to content

Automatic Join Polyline onto existing Polyline ??


Leave Me Here

Recommended Posts

Hi,

 

Is there any way at all to draw a new polyline - from the endpoint of another polyline, and have it automatically join as one polyline from the existing section??

 

I know this can be done via PEDIT, but its so laborious and soo many clicks, and I have alot of segmented Polylines that I need to consolidate when I draft.

 

Any assistance would be greatly appreciated!

 

Thanks!

Matt

Link to comment
Share on other sites

I also use the command Join with a large-ish fuzz-factor. Its not what you are asking for, I don't know how to do that (it would be awesome if it could work), but its a simpler workaround than PEdit

Link to comment
Share on other sites

Is there any way at all to draw a new polyline - from the endpoint of another polyline, and have it automatically join as one polyline from the existing section??

 

Here is a quick and dirty lisp routine. No error checking......sorry, don't have time to pretty it up.

Pick the existing polyline near the endpoint where you want to start drawing the new segments.

 

(defun c:pline2 ( / ent pt1)
 (setq ent (entsel))
 (setq pt1 (osnap (last ent) "end"))
 (command "._pline" pt1)
 (while (eq 1 (logand 1 (getvar "cmdactive")))
   (command pause)
 )
 (command "._pedit" (car ent) "_J" (entlast) "" "")
)

Link to comment
Share on other sites

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