Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Difference between Polyline & 2D Polyline ?

  1. #1
    100 Club
    Join Date
    2007-10
    Location
    God's Own Country
    Posts
    183
    Login to Give a bone
    0

    Question Difference between Polyline & 2D Polyline ?

    Hi,
    Can anyone please tell me the difference between Polyline and 2D Polyline
    and where we can use them?
    Thanks

  2. #2
    All AUGI, all the time zoomharis's Avatar
    Join Date
    2005-02
    Location
    Abu Dhabi (Native-India)
    Posts
    506
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    AFAIK, the PLINE command generates the 2D Polyline (technically called LWPolyline) and as the name indicates, it can be drawn only in 2D. That means, suppose you are drawing a LWPolyline in XY Plane, you can not draw it to the Z axis on the go. On the other hand, 3DPOLY command generates the 3D Polyline (technically called Polyline) which can be drawn in any direction (XYZ). 2D polyline is good enough for drawings in 2D and 3D polylines can be used in places like 3D extrution path, for example.

  3. #3
    I could stop if I wanted to
    Join Date
    2006-09
    Posts
    255
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    sandeepk

    http://forums.augi.com/showthread.php?t=75919

    This may help, or then again, it may not! it confused me!.

  4. #4
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    The original Polyline in AutoCAD while a vast improvement over having to use line segments and arcs was a resource hog. each vertex and end were separate entities so a Polyline with two vertexes was four entities. In r14 AutoCAD introduced the lwpolyline (lightweight polyline) which was a single entity. For drawing which included lots of contours or other complex polylines drawing sizes shrank considerably. Big difference in speed and stability as well.

    In conclusion both represent the same thing, but the newer lwpolyline is a major improvement. If you are encountering old "Heavy" polylines you may be getting them from another program that claims to output AutoCAD entities. Sadly many of these programs have not been updated in quite some time. The AutoCAD Convert function does a nice job cleaning them up though.

  5. #5
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Here is some more information on the topic, I hope it doesn't make all this even more confusing...
    R.K. McSwain | CAD Panacea |

  6. #6
    All AUGI, all the time zoomharis's Avatar
    Join Date
    2005-02
    Location
    Abu Dhabi (Native-India)
    Posts
    506
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Quote Originally Posted by rkmcswain View Post
    Here is some more information on the topic, I hope it doesn't make all this even more confusing...
    If PLINETYPE = 0 (zero), then the PLINE command will create POLYLINE entities.
    If PLINETYPE = 1 or 2, then the PLINE command will create LWPOLYLINE entities.
    Never knew that. Thanks for the tip and thanks for the nice article.

  7. #7
    I could stop if I wanted to
    Join Date
    2006-09
    Posts
    255
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Quote Originally Posted by rkmcswain View Post
    Here is some more information on the topic, I hope it doesn't make all this even more confusing...
    Thanks for that post.

    OK, I'm still not 100% sure about this but from the Help:

    PLINETYPE = 2
    Polylines in AutoCAD Release 14 or older drawings are converted when opened; PLINE creates optimized polylines.

    I think this is incorrect. I don't think they are converted when a dwg is opened.

    Also is there a difference in ConvertPoly & Convert>polyline?
    ConvertPoly isn't even listed in the '07 help!

  8. #8
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Quote Originally Posted by Dave F. View Post
    OK, I'm still not 100% sure about this but from the Help:

    PLINETYPE = 2
    Polylines in AutoCAD Release 14 or older drawings are converted when opened; PLINE creates optimized polylines.

    I think this is incorrect. I don't think they are converted when a dwg is opened.
    Are you testing this with an R14 or older drawing?

    Quote Originally Posted by Dave F
    Also is there a difference in ConvertPoly & Convert>polyline?
    ConvertPoly isn't even listed in the '07 help!
    If I recall correctly, Convert>Poly only converts "heavy" polylines to "Lightweight" ones, while "ConvertPoly" lets you go either direction. ConvertPoly has always been an undocumented command.
    R.K. McSwain | CAD Panacea |

  9. #9
    I could stop if I wanted to
    Join Date
    2006-09
    Posts
    255
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Quote Originally Posted by rkmcswain View Post
    Are you testing this with an R14 or older drawing?
    Ah, it was a recent one. My mistake.

    If I recall correctly, Convert>Poly only converts "heavy" polylines to "Lightweight" ones, while "ConvertPoly" lets you go either direction. ConvertPoly has always been an undocumented command.
    Thanks

  10. #10
    100 Club
    Join Date
    2007-10
    Location
    God's Own Country
    Posts
    183
    Login to Give a bone
    0

    Default Re: Difference between Polyline & 2D Polyline ?

    Thanks all,
    But I can't understand the advantages of 2dpolyline ...

Page 1 of 2 12 LastLast

Similar Threads

  1. 2013: z value at intersection points in 3d polyline and polyline
    By jaychandran in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2013-10-30, 05:20 PM
  2. Difference Between 2D Polyline and 3D Mesh
    By brandenroth1 in forum AutoCAD General
    Replies: 4
    Last Post: 2011-10-10, 07:39 PM
  3. '2D polyline' & 'polyline' What's the difference?
    By Dave F. in forum AutoCAD General
    Replies: 16
    Last Post: 2011-06-13, 06:57 PM
  4. Replies: 14
    Last Post: 2007-09-10, 05:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •