convert a simple line object to polyline object

Discussion in 'AutoCAD' started by el, Jan 14, 2004.

  1. el

    el Guest

    Hi,
    Are there any ways to convert a line obj to a polyline obj? I have a line
    obj which has attributes attached, I want to change it to a polyline obj.
    el
     
    el, Jan 14, 2004
    #1
  2. el

    R.K. McSwain Guest

    Command: PEDIT
    A LINE entity cannot have attributes attached. A INSERT can have attributes, and the INSERT may contain a LINE.
     
    R.K. McSwain, Jan 15, 2004
    #2
  3. el

    Jay Emery Guest

    use a block
     
    Jay Emery, Jan 22, 2004
    #3
  4. el

    Talsky Guest

    El,

    Your description sounds like the line object is a block with attributes.

    What version of AutoCAD are you using?

    If you have AutoCAD R14, then you must explode the line object, and using
    PEDIT, you can convert each line to a polyline. After that you can also use
    PEDIT to join each line segment to become one polyline if you want to.

    After you do this, you would type B on the command line and Enter.

    This brings up the Block dialog box.

    For the name of the block you can scroll down in the top window to find the
    appropriate existing block name, or you can give it a new name. If you give
    it the existing old name, it will change all other blocks in the drawing
    with the same name. If you do not want this to happen, then you must create
    a new name here.

    Before you explode the block as I stated at the beginning, you should
    highlight the block and see the single blue grip. That is your insertion
    point and you need to know where it is before you explode the block. If you
    already exploded it and now are reading this, you may do an undo until you
    get the unexploded block back.

    Now, after giving the block a name, Pick an insertion point. This should be
    the same as the original. That is why you need to know what it was before
    exploding.

    Select all the objects in the block, making sure to select the attributes in
    the order you want to see them for editing upon insertion, or when editing
    later. The order you select them is the order AutoCAD will use. Do not
    select them using a window selection, but select each one separately.

    You can write a description of the block if you want.

    If you have AutoCAD 2000 or later, you can retain the original object as
    separate objects or turn it into a block, or delete it as happens in R14.

    When you have looked over all the options in the Block dialog box, click on
    OK.

    If you used the original block name, you will be asked if you want to
    redefine the block, and you should say yes. Pick an insertion point and
    fill in the attributes as desired.

    One warning....After exploding the block, make sure you are either on Layer
    0, or another layer that you want for that block. Whatever is the Current
    Layer is what the block is going to be on.

    Good luck. I hope this helps. I realize you asked the question two weeks
    ago, and most likely have solved your problem.

    Jack Talsky


    ----- Original Message -----
    From: "el" <>
    Newsgroups: autodesk.autocad.drafting
    Sent: Wednesday, January 14, 2004 2:20 PM
    Subject: convert a simple line object to polyline object
     
    Talsky, Jan 25, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.