AutoCAD Polylines: Draw, Join and Edit Them Properly

A polyline in AutoCAD is a connected series of line and arc segments that behaves as one object. You draw it with PLINE (shortcut PL), and you turn existing separate lines into one with PEDIT or JOIN. When lines refuse to join, the cause is nearly always a gap, an overlap or a hidden elevation difference, and each one has a quick fix. This guide covers all of it in the order you will meet it on a drawing.
TL;DR
A polyline is one object made of connected line and arc segments, while LINE makes every segment a separate object.
Draw with PL, pick points, use Arc, Width and Close as needed, and press Enter to finish.
Join existing lines with PEDIT, Multiple, then J. Select one segment and check the Properties palette to confirm the result is a polyline.
If JOIN fails, look for gaps, overlaps and tiny Z or elevation values first. Then flatten, fillet with a zero radius or convert with PEDIT.
Table of Contents
What a polyline is and why it matters
Autodesk defines a polyline as a connected sequence of line segments created as a single object. The segments can be straight or arcs, and the polyline can be open or closed. That single-object behavior is the whole point. Draw a room outline with LINE and you get four objects. Draw it with PLINE and you get one.
The practical consequences show up the moment you edit:
Select any segment of a polyline and your edit applies to the whole thing. With separate lines, moving one leaves the others where they were.
Vertices stay joined after you grip-edit them, so a wall outline does not come apart when you stretch one corner.
Move and copy treat the shape as a unit.
Rectangles and polygons are created as polylines, so they inherit all of this.
Non-continuous linetypes such as dashed lines are applied smartly across vertices, which gives cleaner dashes around corners.
A closed polyline is easy to extrude into a 3D solid.
Those benefits come straight from Autodesk’s About Polylines page. There is also a width feature: a polyline can have constant width or taper from one width to another along a segment. Autodesk lists fixed-width segments, continuous paths where you need the total length, and contour lines among the typical uses.
For architectural work, that translates into things you do every week: wall and slab outlines, site boundaries, hatch boundaries, room perimeters, stair outlines and anything where you will want an area or a perimeter length from a single object.
How to draw a polyline with PLINE
Type PL and press Enter (or click Polyline on the Home tab, Draw panel).
Click the start point. You can also type coordinates or use object snaps.
Click each next point. Each click adds a segment to the same object.
Press Enter to finish an open polyline, or type C for Close to join the last point back to the first.
The step that goes wrong most often is the last one. If you finish a closed shape by clicking on the start point with a snap instead of typing C, the shape looks closed but the first and last segments are not truly joined. You get an open polyline with a coincident start and end, and corners can look slightly different, particularly with wide polylines or non-continuous linetypes. Typing C closes it properly.
The options worth knowing
Once you have placed the first point, the command line offers options. Autodesk’s PLINE documentation describes them. The ones you will use:
Option | Key | What it does |
Arc | A | Switches to drawing arc segments |
Close | C | Connects the first and last segments |
Halfwidth | H | Sets the width from the centre to one edge |
Width | W | Sets the width of the next segment |
Undo | U | Removes the most recently added segment |
Line | L | Returns to straight segments from arc mode |
In Arc mode you get further options: Endpoint of arc, Angle, Center, Direction, Radius and Second pt. Direction is the one that saves time when you want an arc leaving a straight segment tangentially, such as a rounded corner on a boundary wall.
U is more useful than it looks. If you mis-click the fifth point of a ten-point outline, type U to remove only that last segment and carry on, rather than cancelling and restarting.
Width and where it behaves oddly
Set a start width and an end width and the segment tapers, which is how arrowheads are drawn in a single operation. Autodesk notes that the intersections of adjacent wide segments are normally beveled, but no beveling is done for nontangent arc segments, very acute angles, or when a dot-dash linetype is used. If a wide polyline looks ragged at a sharp corner, that is expected behavior, not a corrupted drawing.
One habit worth building: for most plan linework, keep polyline width at zero and control line thickness through lineweight and layers, as set out in your office drawing standards. Our guide to AutoCAD drawing standards covers how that fits together.
Polyline or line: which to use
The short answer is that if the segments describe one object or one continuous path, use PLINE. A media explainer on the two commands makes the same point: where segments are logically connected, keeping them connected makes later editing more efficient.
Task | PLINE | LINE |
Wall or room outline | Best: one object, one area and length | Four or more objects to manage |
Offset an outline | One offset command, clean corners | Offset each piece and trim |
Hatch boundary | Reliable closed boundary | Gaps cause hatch failures |
Tapered or wide strokes | Supported | Not available |
Single isolated stroke | Works | Works, slightly simpler |
LINE still has a place for single construction strokes and for geometry you deliberately want to remain independent. For reference geometry that you will project from, see our explainer on AutoCAD construction lines.
How to check whether something is a polyline
You will inherit drawings from consultants and clients where nobody knows what was drawn with what. There are two quick checks.
Click once. If the whole shape highlights, it is a single object. If only one edge highlights, it is separate lines.
Open Properties. Select the object and open the Properties palette (Ctrl+1). Autodesk’s Joining 2D Objects page confirms that after a successful join the palette lists the result as a polyline. The same palette shows you the properties that matter when joining fails: Elevation, or Start Z and End Z.
To work on a single segment inside a polyline without exploding it, hold Ctrl and click the segment. Autodesk’s PEDIT selection documentation describes this subobject selection. That is far better than exploding the polyline, which turns it back into separate lines and loses width information.
Joining lines into a polyline
This is the second thing people search for, and the one with the most pitfalls. There are two commands, and both work.
Method 1: PEDIT with Multiple
This is the method I would teach first, because it converts and joins in one pass and gives you control over small gaps. Autodesk’s join instructions follow this pattern:
Type PEDIT and press Enter.
Type M for Multiple.
Select all the lines and arcs you want to combine, then press Enter.
When asked to convert them to polylines, type Y.
Type J for Join.
If prompted, set the fuzz distance, which is how big a gap AutoCAD may bridge between endpoints.
Press Enter to finish.
The fuzz distance is the powerful part. By default the objects’ endpoints must touch. Under the Multiple option, Autodesk’s documentation says you can join polylines that do not touch if the fuzz distance is large enough to include the endpoints. Keep it small, a fraction of your smallest real feature, so you do not bridge gaps that are genuinely there.
The Jointype option controls how gaps are closed: Extend trims or extends segments to the nearest endpoints, Add inserts a straight segment between them, and Both extends or trims where possible and otherwise adds a segment. For survey-style linework, Add is safer because it never moves your existing geometry.
If the conversion prompt slows you down, the PEDITACCEPT system variable set to 1 suppresses it, as the PEDIT command documentation notes.
Method 2: the JOIN command
Type JOIN, select the objects, press Enter. It is the quickest route when the pieces already touch end to end. Autodesk’s 2022 guide explains the two terms that decide whether it works: lines must be collinear (on the same straight line) for gaps to close, and objects must be coplanar (on the same XY plane) and touch end to end without overlapping.
Two behaviors to remember from the Autodesk join documentation:
When the objects have different properties, the resulting polyline takes the properties of the first object you select. Select the one with the correct layer first.
A polyline cannot be joined into a Y shape. Every vertex joins at most two segments, so a junction means two polylines, not one.
Spline-fit polylines return to their original shape when joined, which is also worth knowing before you join something you have smoothed.
Converting a spline to a polyline
When you select a spline in PEDIT, you are asked for a precision value between 0 and 99 that sets how closely the polyline follows the spline. Higher precision tracks the curve better, but a high value might slow performance. For contour work, choose the lowest value that still looks right on your plot.
Why your lines won’t join, and the fix for each cause
Autodesk’s support article on JOIN not working, updated March 2026, names the main culprits: gaps and elevation differences. Work through this list in order.

1. Check for a real gap. Zoom in hard on the endpoints. A gap you cannot see at normal zoom can still stop a join. Increase unit precision (UNITS command) so the drawing displays more decimal places and tiny gaps show up.
2. Check for different elevations. Select the objects and look at Start Z, End Z or Elevation in Properties. Values can be minute, so two lines that look touching in plan miss each other in 3D. Fixes: run FLATTEN on the objects, or set the elevation to 0. If the field shows “Varies”, change it to 0 with the -CH command (Change). The Autodesk article lists these steps.
3. Check for overlaps. Lines that overlap rather than meet end to end will not join. A neat trick from Autodesk’s Joining 2D Objects page: run FILLET with a radius of zero on two lines, and it trims or extends them so they meet exactly at the corner. Then join.
4. Convert with PEDIT first. If JOIN is stubborn, convert the objects to polylines using PEDIT, then join them. Method 1 above does exactly this.
5. Clean the file. If a whole drawing behaves strangely, Autodesk suggests repairing it with OVERKILL (removes duplicate and overlapping objects), PURGE and AUDIT.
6. Check what you are joining. Arcs must touch end to end and be coplanar. Lines separated by a gap close only when collinear. A gap between two lines at an angle will never be bridged by JOIN; use PEDIT with a fuzz distance and the Add jointype, or fillet them.
A worked example: you have received a site boundary made of 14 lines and want its area. Select a segment and check Properties, where you find Start Z values of 0.0004 on three lines. Run FLATTEN on all 14, then PEDIT, M, select all, Y, J, with a fuzz distance of 0.01. The result is one closed polyline. Select it and the Properties palette lists the area and total length, the two numbers you wanted in the first place.
Editing polylines once they exist
PEDIT, Close or Open: closes an open polyline or removes the closing segment.
PEDIT, Width: sets one uniform width for the whole polyline.
PEDIT, Fit or Spline: turns the shape into a smooth curve. A media explainer notes that PEDIT can reshape a drawn polyline into a smooth, flowing curve. Choose Decurve to return to the original segments.
Grips: click the polyline, then hover over a vertex or mid-segment grip for add, remove and convert-to-arc options.
OFFSET: an offset of a closed polyline gives you a clean parallel outline, ideal for wall thickness or setbacks.
Polylines also feed 3D work. Autodesk’s support article on converting 2D lines to 3D solids follows the same PEDIT, Multiple, Y, J sequence and then uses Extrude, Polysolid or Presspull in the 3D Modeling workspace. Our AutoCAD 3D solid modeling workflow picks up from there.
If your clean polylines end up in a BIM environment, it helps to understand how data moves between tools. This note on BIM and IFC file support shows one example of a model-exchange workflow.
When you trace over a scanned plan or imported PDF, polylines are the objects to draw with, and our guide to PDF import and tracing in AutoCAD shows how to set that up.
Our view: build the polyline habit early
Most drawing problems we see in student work trace back to the same root: linework that looks right and is not. Four lines that appear to form a room, but do not share endpoints, will produce a hatch that leaks, an area you cannot read and an offset that fails. Our approach in the AutoCAD course is to make polylines the default for anything that is an outline, and to teach the join and clean-up routine early, so that inherited drawings stop being a time sink. That is what project-based training is for: you meet these problems inside a real drawing, not on isolated exercises, and you learn the fix in context. The same discipline carries into Revit. Clean, closed, correctly joined sketch lines are what Revit needs for floors, rooms and in-place families, and the habit you form in AutoCAD carries straight across. Steve
Learn it on real drawings
If you want these commands practiced on real architectural projects instead of picked up piecemeal, our AutoCAD Training course takes you from beginner to expert for €79, one-off. It includes direct trainer support, lifetime access to the materials, a completion certificate and a money-back guarantee.

If Revit is also on your list, the Revit Course Only is also €79 one-off, and the same project-based approach applies.
FAQ
How do I create a polyline in AutoCAD?
Type PL and press Enter, click a start point, then click each following point. Use A for arc segments, W for width and U to undo the last segment. Press Enter to finish, or type C to close the shape back to the first point.
How do I join lines into a polyline in AutoCAD?
Type PEDIT, then M for Multiple, select all the lines and press Enter. Answer Y to convert them to polylines, type J for Join, set a small fuzz distance if there are tiny gaps, and press Enter. The simpler JOIN command also works when the segments already touch end to end.
Why won’t my polylines join in AutoCAD?
The usual causes are a small gap, overlapping ends or objects at slightly different elevations. Zoom in on the endpoints, check Elevation or Start Z and End Z in Properties, then run FLATTEN or set the elevation to 0. A zero-radius FILLET makes lines meet exactly before you join them.
How do I see properties in AutoCAD?
Select the object and press Ctrl+1 to open the Properties palette. For a polyline it shows the object type, layer, width, elevation, area and length. It is the quickest way to confirm that a joined shape really is one polyline.
Sources
Recommended

Comments