Jump to content
GISdude

Select every line in drawing and convert to polyline

Recommended Posts

GISdude

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?

Share this post


Link to post
Share on other sites
ReMark

PEDIT > Multiple > All doesn't do it for you?

Share this post


Link to post
Share on other sites
GISdude

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

Share this post


Link to post
Share on other sites
ReMark

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.

Share this post


Link to post
Share on other sites
GISdude

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

Share this post


Link to post
Share on other sites
ReMark

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

Share this post


Link to post
Share on other sites
MillerMG
I'll be there this afternoon. Bring your BIG wallet.:shock:

 

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×