AutoCAD Polyline Types
Confused about the various polyline types that you see in AutoCAD?
From the end user perspective there are 3 polyline types listed in the PROPERTIES command, even though there are only two "entity" types.
- polyline - this is an LWPOLYLINE entity, always 2D.
- 2d polyline - this is a POLYLINE entity, also 2D.
- 3d polyline - this is a POLYLINE entity, usually 3D, with each vertex at a different elevation. It is possible to have a "3d polyline" and have each vertex at the same elevation.
If you use the LIST command on any polyline, you will only see the
entity names (POLYLINE or LWPOLYLINE).
POLYLINE entities are the original type. LWPOLYLINE entities were introduced in R14.
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.
To create 3d polylines, use the 3DPOLY command.
To convert between POLYLINE and LWPOLYLINE entities, use the CONVERTPOLY command.
If you are using Autolisp, you only need to worry about the entity names (POLYLINE and LWPOLYLINE.) A "3d polyline" is simply a POLYLINE entity with a special flag set. When this flag is set, each vertex subentity can be set to a different elevation.
Depending on what else you may be doing, you may also see
names like:
Acad3DPolyline, or AcDb3dPolyline
AcadPolyline, or AcDb2dPolyline
AcadLWPolyline, or AcDbPolyline
All content is copyright © CAD PANACEA 2005-2011 unless otherwise noted.
All content of CAD PANACEA is solely my own personal thoughts and opinions and do not those of any other entity or person.
All comments posted to this blog are the sole responsibility of the person making the comment.
Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.

Recent comments
1 day 13 hours ago
1 day 16 hours ago
2 days 17 hours ago
4 weeks 2 days ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 1 day ago
7 weeks 1 day ago
12 weeks 22 hours ago
12 weeks 2 days ago