Jump to content

Select every line in drawing and convert to polyline

Recommended Posts

Hi all,

I thought there might be an intuitive/simple way to do this. I've tried the lisp routine SSX, BUT when you run the routine you can't "keep" the selection to use the PEDIT command.


Is there something I'm missing here?

Link to comment
Share on other sites

When you're using PEDIT, that's only selecting the POLYLINES. I'm trying to convert all the LINES to POLYLINES. It seems so simple...

Link to comment
Share on other sites

Sorry, but I don't believe you.


Here is the text screen from a drawing where there were 22 objects consisting of lines and arcs (no polylines) and the PEDIT command was invoked. PEDITACCEPT was deliberately set to "0".


Command: PEDIT


Select polyline or [Multiple]: m


Select objects: all

22 found


Select objects:


Convert Lines, Arcs and Splines to polylines [Yes/No]? accept the default


Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Reverse/Undo]: press Enter one more time to cancel out of the command


BTW...this worked even when I added three polyline but instead of finding 22 objects it found 25. Not that it mattered.

Link to comment
Share on other sites

DOOOOD...I must have a MONDAY MORNING BRAINFART! That did the trick! I owe you a Starbucks...if you're ever in Northern California. :)

Link to comment
Share on other sites

I'll be there this afternoon. Bring your BIG wallet.:shock:


:rofl: nice!!! Wish we had more thankful people like this guy hahahaha

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.

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