top of page

AutoCAD Polyline Edit: PEDIT, Join, Width and Vertices

Nov 13
11 min read

AutoCAD polyline boundary shown on monitor

To edit a polyline in AutoCAD, type PE and press Enter, pick the polyline, then choose an option: Join to merge connected lines, Width to change thickness, or Edit vertex to work on individual points. For quick reshaping, select the polyline and drag its grips. This guide covers each method in the order you will need it, with the places where drawings usually go wrong, and it shows how we teach the same routine in project work.



TL;DR

 

  • PEDIT (Polyline Edit) is the main command for editing polylines. It handles joining, width, vertices, fitting and curve smoothing in one place.

  • To turn separate lines into one polyline, run PEDIT, pick one line, answer Y to convert it, then use Join and select the connected objects.

  • Width is set with PEDIT’s Width option for the whole polyline, or per segment through Edit vertex. A polyline that looks too thick usually has a non-zero global width.

  • Grips let you add, remove and extend vertices, and convert segments between arcs and lines, without typing a command.

 

Table of Contents

 

 

Why polylines are worth editing properly

 

A polyline is a single object made of connected line and arc segments. Select it once and the whole outline highlights. That is why architects and technicians use polylines for room boundaries, site outlines, slab edges and anything that will later be hatched or measured as one shape.

 

The trouble is that drawings rarely arrive as clean polylines. Lines drawn with the LINE command, geometry from a consultant’s DWG, or outlines traced from a PDF are often loose segments that merely touch. Edit them into polylines and you can select a boundary in one click, apply a hatch cleanly, offset a whole outline in one go and read its area without stitching pieces together.

 

The edit routine falls into five jobs, and the rest of this guide takes them in turn:

 

  1. Opening PEDIT and understanding its prompt.

  2. Reshaping with grips and the vertex options.

  3. Joining separate objects.

  4. Converting lines to polylines.

  5. Changing width.

 

PEDIT: the command behind most polyline edits

 

PEDIT is the Polyline Edit command. Autodesk documents it as the command for editing polylines and the objects that can be joined to them, with joining 2D polylines and converting lines and arcs into polylines among the common uses.

 

You can start it three ways:

 

  • Type PE and press Enter.

  • Go to the Home tab, open the Modify panel and click Edit Polyline. If you cannot find the panel, our guide to the AutoCAD ribbon interface shows where the Modify tools live.

  • Type PEDIT in full.

 

After you select a polyline, the prompt offers a list of options. Autodesk’s 2D polyline option list includes Join, Width, Edit vertex, Fit, Spline, Decurve, Ltype gen, Reverse and Undo. In practice it breaks down like this:

 

Option

What it does

When you use it

Join

Merges connected objects into the polyline

Cleaning up traced or imported linework

Width

Sets one uniform width for the whole polyline

Heavy outlines, borders, arrows

Edit vertex

Lets you work on individual vertices and segments

Per-segment width and vertex changes

Fit / Spline

Reshapes the polyline into a smooth curve

Contours, landscape edges

Decurve

Reverses fit or spline smoothing

Undoing a curve you no longer want

Ltype gen

Controls how a linetype pattern runs along the polyline

Dashed or centerline polylines that look wrong at corners

Reverse

Flips the direction of the polyline

Direction-sensitive linetypes and tools

Undo

Steps back one PEDIT action

Mistakes mid-command

One habit saves a lot of time: stay inside the command. PEDIT keeps prompting until you press Enter, so you can join, change width and close in a single pass rather than restarting the command each time.

 

If your linetype pattern behaves oddly on a polyline, the Ltype gen option is the first thing to look at, and our walkthrough on creating AutoCAD linetypes explains how the patterns themselves are built.

 

Editing vertices with grips

 

Not every edit needs a command. Click a polyline when no command is running and its grips appear: squares at the vertices and smaller markers at the middle of each segment. Autodesk’s polyline modification steps describe what each one does.

 

Move a vertex

 

Select the polyline, click a vertex grip so it turns active, and move the cursor. Click to place it at the new location, or type a distance or coordinate for exact placement. This is the fastest way to adjust a boundary after a survey correction.

 

Add or remove a vertex

 

Select the polyline and hover over a vertex grip. The grip menu offers Add Vertex and Remove Vertex. Choose Add Vertex, then specify the location of the new point. To delete a corner, hover the grip and choose Remove Vertex. The neighboring points then connect directly.

 

Extend an end

 

Hover over an end grip and click Extend Vertex. Specify where the new segment should end. It is a tidy way to continue an open polyline without drawing a new one and joining later.

 

Switch between arcs and lines

 

Hover over the middle grip of a segment and the menu offers Convert to Arc or Convert to Line. Autodesk describes this exact route for changing an arc segment into a straight one: select the polyline, hover the middle grip of the arc, choose Convert to Line and accept the result. It is how you turn a rounded corner back into a chamfered one, or the reverse, without redrawing.

 

When to use Edit vertex in PEDIT instead

 

Grips are visual and quick. The Edit vertex option in PEDIT is better when you need a particular per-segment property, such as a different starting and ending width on one segment. We cover that in the width section below.

 

If you need to cut or lengthen polylines against other geometry rather than reshape them, the trim and extend guide covers the commands made for that job.

 

How to join polylines in AutoCAD

 

Joining is the edit most readers come for. Autodesk’s join procedure works for polylines, splines, lines and arcs that meet end to end:

 

  1. On the Home tab, in the Modify panel, click Edit Polyline.

  2. Select the polyline to start from. If you select a line, arc or spline, press Enter to convert it when prompted.

  3. Enter J for Join.

  4. Select the other objects. They must be located end to end.

  5. Press Enter to end the command.

 

Two limits matter, both from Autodesk’s notes on this procedure. A spline-fit polyline returns to its original shape when you join it. And polylines cannot be joined into a Y shape, so a junction where three segments meet needs to be split into separate polylines.

 

Why a join fails

 

When Join seems to do nothing, the cause is almost always one of these:

 

  • A tiny gap. Two lines that look connected may stop a hair apart. Zoom in on the joint, or drag a grip to the other endpoint with object snap on, then join again.

  • Overlapping ends. If two lines run past each other, trim them back to meet first. Our trim and extend article shows how to do that cleanly.

  • A branching junction. Because a Y shape cannot be made, decide which two branches form the main run and join those.

  • Objects on a different plane or elevation. Objects that do not lie in the same plane will not combine into one 2D polyline.

 

Join in a shared project

 

When several people draw into the same files, small habits decide whether linework stays usable. Boundaries that are joined into single polylines are simpler to hatch, measure and hand over. For teams working on the same model, this look at Civil 3D collaboration and file locks shows how shared drawing work is organized once more than one person is editing.

 

A worked example

 

Imagine a floor plan outline made of eight separate lines imported from a survey. You want one closed boundary for a hatch. Run PE, pick any one line and answer Y to convert it. Enter J, then window-select the other seven lines and press Enter. If the status line says the polyline is still open, enter C to close it. Now one click selects the whole outline, and the area is available in a single query.


Steps to join lines into a closed boundary

Convert a line to a polyline

 

A single line cannot do much that a polyline cannot, and converting it takes seconds. Autodesk’s support procedure for combining lines and arcs runs as follows:

 

  1. Run PEDIT.

  2. Select one of the objects you want to edit.

  3. Enter Y to convert it into a polyline.

  4. Enter J for Join and select the other connected lines or arcs.

  5. If the result is still open, enter C to close it.

 

The result is one polyline, with the original geometry replaced.

 

Skip the conversion prompt

 

If you convert often, the Y/N question becomes noise. According to Autodesk’s PEDIT documentation, three system variables shape the behavior:

 

  • PEDITACCEPT: when set to 1, the prompt is suppressed and the selected object converts automatically.

  • PLINECONVERTMODE: decides whether the polylines created use linear segments or arc segments.

  • DELOBJ: controls whether the original geometry is kept or removed.

 

Set PEDITACCEPT to 1 if you convert dozens of objects a day. Leave it at its default if you want the prompt as a safety check on shared drawings.

 

A common mistake

 

Converting only part of a chain. If you select one line, convert it and press Enter without joining, you have one polyline sitting among loose lines. The drawing looks identical, but a boundary click picks up only that single segment. Always finish with Join, then confirm by clicking the outline and watching how much of it highlights.

 

Change polyline width

 

Width is the part of polylines that surprises people, because it is geometry, not lineweight. A polyline can have real width, and that is why it can print thick when you expected a hairline.

 

Set one width for the whole polyline

 

 

  1. Home tab, Modify panel, Edit Polyline.

  2. Select the polyline.

  3. Enter W for Width.

  4. Type the new uniform width and press Enter.

 

Every segment takes that width. Typing a value for a title border or a section cut line gives you a bold line that scales with the drawing, not with plot settings.

 

Set a different width on one segment

 

For tapered shapes such as arrows or north points, per-segment width does the job:

 

  1. Run PEDIT and select the polyline.

  2. Enter E for Edit vertex.

  3. Move to the vertex at the start of the segment you want to change.

  4. Enter W for Width.

  5. Provide the starting width and the ending width for that segment.

 

A start of 0 and an end of 5 gives a segment that grows from a point to a width of 5, which is how a simple arrowhead is built.

 

Reduce a polyline that looks too thick

 

When a polyline prints heavy and changing lineweight does nothing, the cause is a non-zero global width. Autodesk’s support guidance is to select the polyline and set Global Width to zero in the Properties palette, then set the PLINEWID system variable to 0 so new polylines start at no width. Autodesk also notes that width can be changed through PEDIT or the Properties palette (Ctrl+1), where start segment width, end segment width and global width are all editable.

 

The practical split: use width when the thickness is part of the geometry, as in an arrow, and use zero width with lineweight when the thickness is a plotting decision. Mixing the two is what produces the surprise on the printed sheet. If your PDFs show unexpected line thickness, our guide to AutoCAD PDF export settings covers the output side.


Reduce a polyline that looks too thick

Curve, fit and smooth

 

PEDIT also reshapes. Fit and Spline smooth a polyline into a curve, and Decurve takes the smoothing off again. Use Fit when you want a curve that passes through your vertices, and Spline when you want a smoother curve that is pulled toward them. Remember the join note: a spline-fit polyline returns to its original shape when joined, so finish the joining first and smooth last.

 

Quick fixes for common polyline problems

 

Problem

Likely cause

Fix

Join does nothing

Gap or overlap at the joint

Snap the endpoint, or trim to meet, then join

Outline will not hatch

Polyline is open

In PEDIT, enter C to close it

Line looks fat in print

Non-zero global width

Set Global Width to 0 and PLINEWID to 0

Dashed linetype looks broken at corners

Linetype generation setting

Try PEDIT’s Ltype gen option

Three lines at a junction will not join

Y shapes are not supported

Join the main run, keep the branch separate

Curve vanished after join

Spline-fit polylines revert when joined

Join first, then fit or spline

A rule of thumb that prevents most of these: check a polyline by clicking it. What highlights is what AutoCAD thinks the object is, and that is a faster diagnosis than staring at the screen.

 

Our perspective

 

Polyline editing looks like a small topic, but it separates a drawing that survives a revision from one that falls apart. When a student sends us a plan where every wall is loose lines, the problem is rarely the drawing skill. It is that nobody showed them PEDIT as a routine: convert, join, close, check.   That is why we teach commands inside real project work, not as a list of options. You use Join on a floor plan outline that you will hatch and schedule later, so you feel why a closed polyline matters. The same goes for width: you set it on a real border and then see what it does at plot time.   Our courses are built around that project-based approach, with direct trainer support and lifetime access to the materials, so you can return to a command when a real drawing needs it. Learn the routine once, and you will not think about it again.   Steve

 

Learn the whole AutoCAD workflow, not just one command

 

Polylines are one piece of a drafting routine that also includes layers, annotation, plotting and templates. Our AutoCAD Training course takes you from beginner to expert through project-based lessons, with direct trainer support, lifetime access to materials and a completion certificate. It costs €79 one-off, and the money-back guarantee applies. You can see the full outline on the AutoCAD Training page.


S15studio

If you are brand new to the software, start with our getting started guide for AutoCAD. If you want a longer path to mastery, the Mastering AutoCAD course covers it from the first line to advanced work.

 

FAQ

 

What is the PEDIT command in AutoCAD?

 

PEDIT is the Polyline Edit command, started by typing PE and pressing Enter. Autodesk documents it as the tool for editing polylines and the objects that can be joined to them. Its options include Join, Width, Edit vertex, Fit, Spline, Decurve and Ltype gen.

 

How do I join lines into one polyline?

 

Run PEDIT, select one line and answer Y to convert it into a polyline. Enter J for Join, select the other lines that meet end to end, and press Enter. If the shape is still open and should be closed, enter C.

 

How do I convert a line to a polyline in AutoCAD?

 

Run PEDIT, select the line and enter Y when asked to turn it into a polyline. Join any connected segments if you want a longer polyline. If you convert often, setting PEDITACCEPT to 1 suppresses the prompt and converts automatically.

 

How do I change polyline width?

 

Run PEDIT, select the polyline, enter W and type the new width, which applies to every segment. For one segment, use Edit vertex, select the vertex, enter W and give a starting and an ending width. To remove unwanted thickness, set Global Width to 0 in the Properties palette.

 

Why can’t I join my polylines?

 

The usual cause is a small gap or overlap between endpoints, or objects that are not end to end. Autodesk also notes that polylines cannot be joined into a Y shape. Fix the endpoints by snapping or trimming, then run Join again.

 

Sources

 

Recommended

 

 
 
 

Comments


s15studio logo
  • Instagram
  • alt.text.label.YouTube
  • alt.text.label.Facebook
  • alt.text.label.LinkedIn
  • Discord

As an independent instructor, I am not affiliated with, endorsed by, or sponsored by Autodesk in any way. The Autodesk trademarks and logos are the property of Autodesk Inc. and are used under license. Any information, materials, or training provided by me are solely for educational purposes and are not intended to promote or sell Autodesk products or services.  Any views or opinions expressed are solely my own and do not necessarily reflect those of Autodesk. By using my services, you agree to these terms and conditions. All material on this website, including but not limited to text, images, graphics, videos, and audio files, is the property of S15Studio and is protected by copyright law. No material from this

website may be reproduced, copied, downloaded, or distributed in any form without prior written permission from S15Studio. Unauthorized use or reproduction of any material on this website may result in legal action.

©2026 by S15Studio

bottom of page