AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Valued Contributor
wizengr
Posts: 52
Registered: ‎06-19-2011
Message 1 of 8 (481 Views)
Accepted Solution

Anyway to convert a group of Lines to Polylines

481 Views, 7 Replies
11-01-2012 11:28 AM

On several occasions I have had to convert a group of lines to polylines but had to select and convert each line one after the other. Instead of one after another is there a way or a command to select all the lines and convert them as group into polylines?

Type pedit, select multiple, pick all of the lines you want to convert, type Y when asked if you want to convert them to polylines, exit command.

Valued Contributor
mbcastle
Posts: 67
Registered: ‎09-24-2008
Message 2 of 8 (479 Views)

Re: Anyway to convert a group of Lines to Polylines

11-01-2012 11:35 AM in reply to: wizengr

Type pedit, select multiple, pick all of the lines you want to convert, type Y when asked if you want to convert them to polylines, exit command.

Mark Castle
Civil 3D 2014, SP1
Win 8.1 64-Bit, 8 GB RAM
Core 2 Duo 6400, Quadro FX 580
*Expert Elite*
BrianHailey
Posts: 2,868
Registered: ‎04-27-2005
Message 3 of 8 (451 Views)

Re: Anyway to convert a group of Lines to Polylines

11-01-2012 02:30 PM in reply to: wizengr

Even easier (if you are on 2012 or later - or was it 2011?); Grab the lines and type J at the command line.

Brian Hailey
CAD-1.com
My Blog
*Expert Elite*
Joe-Bouza
Posts: 5,190
Registered: ‎12-15-2008
Message 4 of 8 (446 Views)

Re: Anyway to convert a group of Lines to Polylines

11-01-2012 02:57 PM in reply to: BrianHailey

and get what?

 

I'm left with lines. Is there more to it?

 

j.PNG

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win7 OS
Distinguished Contributor
SurveyorLee
Posts: 128
Registered: ‎12-23-2008
Message 5 of 8 (403 Views)

Re: Anyway to convert a group of Lines to Polylines

11-02-2012 11:16 AM in reply to: wizengr

To convert the lines into polylines, they have to be touched end to end .  the pedit command will turn the series of lines into one pline, not multiple

 

Surveyor Lee

 

*Expert Elite*
Joe-Bouza
Posts: 5,190
Registered: ‎12-15-2008
Message 6 of 8 (398 Views)

Re: Anyway to convert a group of Lines to Polylines

11-02-2012 11:19 AM in reply to: SurveyorLee

Thats only to join them. PEDIT M will convert a collection of geometry

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People) Civil 3D 2012 & 2013
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win7 OS
*Expert Elite*
Alfred.NESWADBA
Posts: 9,610
Registered: ‎06-29-2007
Message 7 of 8 (395 Views)

Re: Anyway to convert a group of Lines to Polylines

11-02-2012 11:22 AM in reply to: wizengr

Hi,

 

and if you want to do some cleanup don't forget you have the Map3D-functionality included, therefor the command _MAPCLEAN (>>>details<<<) can help a lot!

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
BrianHailey
Posts: 2,868
Registered: ‎04-27-2005
Message 8 of 8 (345 Views)

Re: Anyway to convert a group of Lines to Polylines

11-04-2012 02:44 PM in reply to: Joe-Bouza

Joe-Bouza wrote:

and get what?

 

I'm left with lines. Is there more to it?

 

j.PNG


My bad. I missread the original question. To join them, use J. To simply convert them, use MPEDIT (you can select them first and then run MPEDIT whereas if you run PEDIT you must select them after the fact).

Brian Hailey
CAD-1.com
My Blog
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.