• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D

    Reply
    Active Contributor
    wizengr
    Posts: 44
    Registered: ‎06-19-2011
    Accepted Solution

    Anyway to convert a group of Lines to Polylines

    381 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?

    Please use plain text.
    Active Contributor
    Posts: 36
    Registered: ‎09-24-2008

    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.

    Please use plain text.
    *Expert Elite*
    BrianHailey
    Posts: 2,398
    Registered: ‎04-27-2005

    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.

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    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
    Please use plain text.
    Valued Contributor
    Posts: 92
    Registered: ‎12-23-2008

    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

     

    Please use plain text.
    *Expert Elite*
    Joe-Bouza
    Posts: 3,321
    Registered: ‎12-15-2008

    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
    Please use plain text.
    *Expert Elite*
    Posts: 6,474
    Registered: ‎06-29-2007

    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
    -------------------------------------------------------------------------
    Please use plain text.
    *Expert Elite*
    BrianHailey
    Posts: 2,398
    Registered: ‎04-27-2005

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

    Please use plain text.