Print Page | Close Window

line and polyline?

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5911
Printed Date: 10.Jun.2026 at 21:02


Topic: line and polyline?
Posted By: kelvin.loh
Subject: line and polyline?
Date Posted: 18.May.2011 at 03:56
Generally whats the difference between the 2?
On what situation should i use polyline? can i convert line into polyline?
What can line do that polyline can't?



Replies:
Posted By: Vladimir Michl
Date Posted: 18.May.2011 at 08:29
Line is just one straight segment, Polyline is a series of segments (lines or arcs). Line can be 3D, plain Polyline cannot (there are also 3DPolylines).
 
You can convert Lines to Polylines (e.g. with PEDIT) and Polylines to Lines (with EXPLODE).


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: kelvin.loh
Date Posted: 18.May.2011 at 09:48

thanks



Posted By: John Connor
Date Posted: 18.May.2011 at 11:57
A rectangle created with the line command consists of four separate entities.  The sample rectangle created with one continuous polyline would be treated by AutoCAD as a single entity.  Polylines, via the Pedit command, can also be turned into splines and can have curves fitted to them.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: heinsite
Date Posted: 19.May.2011 at 05:49
It's often more what a closed polyline object can do that a series of individual line segements cannot:  Provide direct computation of perimeters and areas.  Those can be worth the price of admission alone.

-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: jirachai
Date Posted: 19.May.2011 at 10:30

The distinction between line and polyline is.

line = 2D = ok.
polyline = 3D = ok.

and can convert polyline by command explode.

Therefore if you use just drafting 2D will not have to use the polyline.



-------------
https://sites.google.com/site/bestcheapbuytools/" rel="nofollow - Best Tools
https://sites.google.com/site/buybestcheapvacuumcleaner/" rel="nofollow - Vacuum



Posted By: John Connor
Date Posted: 19.May.2011 at 11:43
Avoiding the use of polylines in 2D drafting is not a good CAD drafting practice.  

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: ChristianD
Date Posted: 23.May.2011 at 11:55
Hi, 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. Thanks!
________________
http://www.jimspestcontrolaustralia.com.au/" rel="nofollow - pest exterminator




Print Page | Close Window