Jump to content

convert lines to polyline (where endpoints coincide)


mikekmx

Recommended Posts

Hi, I have searched and (kinda) surprised I haven't found...

 

 

has anyone ever come across a LISP that once a line is selected will convert it and any touching lines (where the endpoints coincide) into a polyline?

 

 

In my case, they would be on a unique layer & colour etc, but there may be other lines on that layer (non-touching) that I would not want included in the selectionset

 

 

or.... is this an easy task?

Link to comment
Share on other sites

To expand the solution:

 

  • Call QSELECT and apply a proper filter to create a set including only the lines that were to be joined.
  • Call PEDIT and input the Multiple mode; when asked to indicate the selection set for processing input Previous, then accept to convert them to polylines (if case) and choose Join.

Link to comment
Share on other sites

As described by those above, this task could of course be completed using standard AutoCAD functionality.

 

To offer an alternative, you could use my Chain Selection program to obtain the initial selection, followed by my Polyline Join program (a simple wrapper for the PEDIT command) to convert the selection into a polyline.

Link to comment
Share on other sites

  • 1 year later...

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