AutoCAD • Advanced Editing and Productivity

Grip Editing Polylines — Use multi-functional grips to edit polylines/vertices and convert segments (line ↔ arc) (intro)

Master multi-functional grips to reshape polylines, manipulate vertices, and convert segments between lines and arcs directly on-canvas.

A drafting compass with dimension and drawing-panel symbols.
Inside this lesson 10 sections 5 questions 7 figures

SECTION 1

Historical Context & Motivation

Before grip editing existed in CAD software, modifying the geometry of a polyline required issuing explicit commands such as PEDIT, navigating nested sub-menus, and specifying vertex indices by number — a workflow that was both slow and error-prone. Early versions of AutoCAD treated all editing as a command-line dialogue; users typed coordinates and option keywords in sequence, rarely interacting with geometry directly on the drawing canvas. As CAD adoption expanded from specialized engineering firms to architecture, urban planning, and game-level design, Autodesk recognized that direct manipulation — the ability to click on an object and reshape it visually — would dramatically lower the barrier to productive drafting.

1982 • AutoCAD 1.0 Released

Autodesk ships the first version of AutoCAD. All editing is performed through typed commands; polylines are modified via PEDIT with sequential sub-options.

1991 • Basic Grips Introduced (R11)

AutoCAD Release 11 introduces blue square grips on selected objects. Users can stretch, move, rotate, scale, and mirror objects by clicking grips, but polyline-specific operations remain limited to simple vertex stretching.

2010 • Multi-Functional Grips (AutoCAD 2011)

Autodesk introduces multi-functional grips for polylines, allowing context-sensitive menus on hover that expose Add Vertex, Remove Vertex, and Convert to Arc / Convert to Line directly at each grip point.

2015–Present • Refinement and Ecosystem Integration

Subsequent releases refine grip behavior with improved dynamic input, constraint indicators, and predictive geometry previews. Multi-functional grips become standard across polylines, splines, hatches, and dimensions.

The central question that grip editing addresses is fundamentally one of interaction design: how can a CAD tool let users express complex geometric transformations — adding vertices, removing them, or converting a straight segment into a curved arc — through the smallest possible number of mouse interactions, without ever leaving the canvas to type a command? Multi-functional grips answer this by embedding a contextual menu system directly into the geometric control points of the polyline itself.

SECTION 2

Core Principles & Definitions

Understanding grip editing requires familiarity with a few foundational concepts. A polyline (created with the PLINE command) is a single composite entity consisting of contiguous line and arc segments that share endpoints. Unlike a series of independent LINE entities, a polyline maintains topological connectivity: modifying one vertex automatically updates the adjacent segments. When you select a polyline without invoking any command, AutoCAD displays small colored squares — grips — at every vertex and midpoint. These grips are the handles through which all direct manipulation occurs.

1

Vertex Grip (Square)

Appears at every vertex of the polyline. Left-clicking and dragging stretches the vertex to a new location. Hovering reveals the multi-functional menu with options: Stretch Vertex, Add Vertex Before, Add Vertex After, Remove Vertex, and Convert to Arc.
2

Midpoint Grip (Rectangle)

Appears at the midpoint of each segment. Dragging this grip on a line segment pushes the segment laterally, inserting a new vertex. On an arc segment it adjusts the bulge factor (curvature). Hovering reveals options such as Add Vertex and Convert to Line.
3

Multi-Functional Menu

The context-sensitive dropdown that appears when you hover over a grip and see a small arrow or triangle indicator. It lists the grip modes available for that specific grip type and segment type, enabling in-place editing without any command-line interaction.
4

Segment Conversion (Line ↔ Arc)

Through the multi-functional menu on either a vertex grip or a midpoint grip, you can convert a straight line segment into an arc segment (or vice versa). AutoCAD computes a default arc through the two endpoints and a draggable third point.
✦

KEY TAKEAWAY

Think of multi-functional grips like right-click context menus in a modern IDE. Just as right-clicking a variable in VS Code reveals Rename, Go to Definition, and Find All References — operations specific to that code element — hovering over a polyline grip reveals geometric operations specific to that vertex or segment. The grip is the context menu's anchor, and the available actions depend on what kind of geometric element the grip represents.

SECTION 3

Visual Explanation — Anatomy of Polyline Grips

Polyline Grip AnatomyV1V2V3V4V5MidMidArc MidMidMulti-Func Menu▸ Stretch Vertex▸ Add Vertex▸ Remove Vertex▸ Convert to ArcVertex GripLine Midpoint GripArc Midpoint Grip— — Multi-Func Menu
A polyline with five vertices (V1–V5). Blue squares indicate vertex grips; green rectangles mark line-segment midpoint grips; the pink rectangle marks the arc-segment midpoint grip. The dashed callout shows the multi-functional menu that appears when hovering over V2.

The diagram above illustrates the two fundamental grip types you encounter on a selected polyline. Vertex grips (the blue squares at V1–V5) sit at each corner or endpoint of the polyline, and their default action when clicked and dragged is Stretch — the vertex moves to the cursor location and both adjoining segments rubber-band accordingly. Midpoint grips (green and pink rectangles) appear at the center of each segment. On a line segment, dragging the midpoint grip displaces the segment laterally, effectively inserting a new vertex. On an arc segment, dragging adjusts the arc's bulge — its degree of curvature — while keeping the endpoints fixed. Notice the dashed callout at V2: hovering over a vertex grip triggers a small downward arrow indicator; clicking that arrow opens the multi-functional menu, which lists all available operations for that grip in context.

SECTION 4

How It Works — Grip Modes and Segment Conversion

Grip Activation States

Every grip in AutoCAD cycles through three states: unselected (cold), hover (warm), and selected (hot). In the cold state, the grip appears as a solid blue square. When you hover over it, AutoCAD detects that the grip belongs to a polyline and adds a small triangular arrow indicating the availability of a multi-functional menu. Clicking the grip transitions it to the hot state (it turns red), and the default mode — typically Stretch — becomes active. Pressing Spacebar or Enter while a grip is hot cycles through the classic grip modes: Stretch → Move → Rotate → Scale → Mirror. However, for polylines, it is the multi-functional menu accessed via the hover-arrow that provides the polyline-specific operations.

Converting a Line Segment to an Arc

When you select a polyline, hover over a vertex grip (say V3), and click the downward arrow, you see the option Convert to Arc. Selecting this option tells AutoCAD to replace the linear segment immediately following V3 with a circular arc segment. AutoCAD represents arc segments internally using a parameter called the bulge factor (b). The bulge is defined as the tangent of one-quarter of the included angle θ of the arc: b = tan(θ / 4). A bulge of 0 means the segment is a straight line, a bulge of 1 corresponds to a semicircle, and negative values curve the arc in the opposite direction.

BULGE FACTOR

b=tan(θ/4)b = tan(θ / 4)

Where b is the bulge factor, and θ is the included (central) angle of the arc in radians. A bulge of 0 → line; |b| = 1 → semicircle; b < 0 → clockwise arc.

ARC RADIUS FROM BULGE

R=d×(1+b2)/(4×∣b∣)R = d × (1 + b²) / (4 × |b|)

Where R is the arc radius, d is the chord length (Euclidean distance between the two endpoints of the segment), and b is the bulge factor.

Once the conversion is initiated, AutoCAD places the cursor on the arc and allows you to drag the midpoint of the new arc segment to set the desired curvature. This drag-to-set-bulge behavior provides real-time visual feedback: the arc dynamically updates as you move the mouse, and the final click commits the bulge value. If you later want to revert the arc to a straight line, you hover over the same vertex grip (or the arc's midpoint grip) and select Convert to Line, which sets the bulge factor back to 0.

SECTION 5

Detailed Breakdown of Grip Operations

Grip Operations FlowchartSelect PolylineHover over GripVertex GripMidpoint GripStretchdrag to moveAdd / Removevertex mgmtConvert to Arcline → arcStretchadjust bulgeConvert to Linearc → lineUpdated Polylinesingle entity preservedPress Esc at any point to cancel. Ctrl+Z to undo last grip edit.
Flowchart of the grip editing decision tree. After selecting a polyline, hovering over a vertex grip or midpoint grip branches into the available operations. All operations preserve the polyline as a single entity.
OperationGrip TypeAccess MethodEffect
Stretch VertexVertex (square)Click grip (default)Moves the vertex; adjacent segments follow.
Add VertexVertex or MidpointHover → menu → Add VertexInserts a new vertex before or after the current one.
Remove VertexVertexHover → menu → RemoveDeletes the vertex; segment bridges the gap.
Convert to ArcVertex (on line seg.)Hover → menu → Convert to ArcReplaces the following line segment with an arc; user drags to set curvature.
Convert to LineMidpoint (on arc seg.) or VertexHover → menu → Convert to LineReplaces the arc segment with a straight line (bulge → 0).
Stretch MidpointMidpointClick midpoint grip (default)On line: inserts vertex at drag location. On arc: adjusts bulge factor.

Complete reference of polyline grip operations

SECTION 6

Worked Example — Reshaping a Floor-Plan Wall Segment

Suppose you have a floor-plan outline drawn as a closed polyline. The north wall is currently a straight line running from coordinate (100, 500) to (400, 500), but the design now calls for a bay window — a curved protrusion with a semicircular arc. You also need to insert a new vertex at (250, 500) to mark the future location of a door. We will accomplish both tasks entirely through grip editing, without typing a single command.

Adding a Vertex and Converting a Segment to an Arc

  1. 1

    Step 1 — Select the Polyline

    Click on the floor-plan polyline. Ensure no command is active (press Esc first). Blue grips appear at every vertex and midpoint.
    Grips displayed — including one at (100, 500) and another at (400, 500).
  2. 2

    Step 2 — Add a Vertex at (250, 500)

    Hover over the vertex grip at (100, 500). A small downward arrow appears. Click the arrow to open the multi-functional menu, then select Add Vertex After. AutoCAD prompts you to specify the new vertex location. Type 250,500 and press Enter (or simply click the desired point with OSNAP enabled).
    A new vertex now exists at (250, 500). The north wall is split into two segments: (100,500)→(250,500) and (250,500)→(400,500).
  3. 3

    Step 3 — Convert the Second Segment to an Arc

    Hover over the newly created vertex grip at (250, 500). Open its multi-functional menu and select Convert to Arc. AutoCAD replaces the line segment from (250, 500) to (400, 500) with a draggable arc preview. Move the cursor upward (toward the exterior of the building) to push the arc outward.
    The segment is now an arc. Its midpoint grip turns pink, indicating arc geometry.
  4. 4

    Step 4 — Fine-Tune the Curvature

    Click the arc's midpoint grip (the pink rectangle at approximately (325, 538)). Drag it upward to increase the bulge or downward to decrease it. For a semicircular bay window, drag until the dynamic input shows an included angle of approximately 180° (bulge ≈ 1.0). If you overshoot, Ctrl+Z undoes the last grip edit.
    The chord length d = 150 units. With b = 1, the radius R = 150 × (1 + 1) / (4 × 1) = 75 units — a perfect semicircle.
  5. 5

    Step 5 — Verify and Finalize

    Press Esc to deselect the polyline. Use the LIST command on the polyline to confirm vertex count (original count + 1) and that the second segment type reads 'Arc'. The polyline remains a single entity, so hatching, offsetting, and area calculations still work seamlessly.
    Polyline verified: 1 new vertex added, 1 segment converted to arc, entity integrity preserved.

SECTION 7

Grip Editing vs. Command-Line Editing (PEDIT)

Grip editing is not the only way to modify polylines — the PEDIT command offers a comprehensive (if verbose) set of editing sub-options. Understanding when to use each approach is a matter of workflow optimization, much like choosing between a GUI-based debugger and command-line gdb — both achieve the same result, but the appropriate choice depends on the complexity of the task and the user's familiarity with the interface.

CriterionGrip EditingPEDIT Command
Speed (simple edits)Very fast — 2–3 clicks for most operations.Slower — requires typing command + navigating sub-menus.
Visual FeedbackReal-time preview as you drag.Limited preview; changes applied after confirmation.
Bulk OperationsOne vertex at a time; not ideal for batch edits.Can Fit / Spline / Decurve entire polyline at once.
Width EditingNot available through grips.Full control over start/end width per segment.
Join / Open / CloseNot available through grips.Available via sub-options.
ScriptabilityCannot be scripted (requires mouse interaction).Fully scriptable via AutoLISP or .scr files.

Grip Editing vs. PEDIT comparison

✦

KEY TAKEAWAY

Grip editing is to PEDIT what a WYSIWYG editor is to LaTeX. When you need to nudge a single vertex or convert one segment from line to arc, grips give you immediate, visual feedback with minimal overhead. But for operations that span the entire polyline — changing global width, fitting a spline curve through all vertices, or scripting batch modifications — PEDIT remains the more powerful and automatable tool. The expert drafter fluently switches between both depending on the task at hand.

SECTION 8

Connection to Advanced Polyline Techniques

Multi-functional grip editing of polylines is the introductory gateway to several more advanced AutoCAD capabilities. Understanding how vertex manipulation and segment conversion work at the grip level prepares you for techniques that rely on the same underlying polyline data structure but expose more parameters and automation hooks.

This Lesson (Grip Editing)Advanced Technique
Add / remove individual vertices via gripsProgrammatic vertex manipulation via AutoLISP (entmod) — iterate DXF group codes 10/42 to batch-edit vertex positions and bulge factors.
Convert line ↔ arc via grip menuUse PEDIT → Fit or PEDIT → Spline to apply smooth curves across all vertices simultaneously.
Drag midpoint grip to adjust arc curvatureParametric constraints — apply tangent, concentric, or fixed-radius constraints to polyline arcs so that curvature adapts automatically when adjacent geometry changes.
Single-vertex stretch with rubber-bandingDynamic blocks with stretch actions — embed grip-like behavior inside block definitions that allow end-users to stretch portions of a block instance.

From grip editing fundamentals to advanced techniques

If you are comfortable with Python or AutoLISP, note that the DXF group code 42 stores the bulge factor for each vertex of a lightweight polyline. Querying and setting this value programmatically is the script-level equivalent of the Convert to Arc / Convert to Line grip operation. As you progress through this course, you will encounter these automation patterns and see how the visual grip-editing model maps cleanly to the underlying data representation — a perspective that is particularly natural for computer science students accustomed to thinking about data structures behind graphical interfaces.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain the difference between a vertex grip and a midpoint grip on a polyline. Why does AutoCAD display different multi-functional menu options for each type?
Show answer
A vertex grip sits at a corner (the junction of two segments) and controls the position of that vertex; its multi-functional menu offers Stretch, Add Vertex, Remove Vertex, and Convert to Arc/Line because these operations all logically operate at a topological node of the polyline. A midpoint grip sits at the geometric center of a segment and controls that segment's shape — on a line segment, dragging it inserts a new vertex (laterally displacing the segment), while on an arc segment, dragging adjusts the bulge factor. The menus differ because the underlying geometric context differs: vertex grips operate on nodes, midpoint grips operate on edges.

Question 2: BASIC CALCULATION

A polyline segment runs from (0, 0) to (200, 0) and is converted to an arc with a bulge factor of 0.5. Calculate the radius R of the resulting arc using the formula R = d × (1 + b²) / (4 × |b|).
Show answer
The chord length d equals the distance between the two endpoints: d = √((200−0)² + (0−0)²) = 200 units. Substituting into the formula: R = 200 × (1 + 0.5²) / (4 × 0.5) = 200 × (1 + 0.25) / 2 = 200 × 1.25 / 2 = 125 units. The included angle θ can be recovered from the bulge: θ = 4 × arctan(0.5) ≈ 4 × 26.57° ≈ 106.26°. This is a relatively gentle arc — less than a semicircle.

Question 3: INTERMEDIATE

You have a closed rectangular polyline with vertices at (0,0), (300,0), (300,200), and (0,200). Using only grip editing, describe the exact sequence of operations to: (a) add a new vertex at (150,0) on the bottom edge, and (b) convert the segment from (150,0) to (300,0) into a semicircular arc that bulges downward (negative y-direction). What bulge factor value corresponds to this semicircle, and what sign does it carry?
Show answer
First, select the polyline by clicking on it (no active command). Hover over the vertex grip at (0,0), click the multi-functional arrow, and select 'Add Vertex After'. Specify the point (150,0). This splits the bottom edge into two segments. Next, hover over the newly created vertex grip at (150,0), open the multi-functional menu, and choose 'Convert to Arc'. AutoCAD enters arc-drag mode for the segment from (150,0) to (300,0). Drag the cursor downward (toward negative y) to make the arc bulge below the chord. For a semicircle, the bulge magnitude is 1.0. Because the arc curves in the clockwise direction (downward relative to the chord direction from left to right), the sign is negative: b = −1.0. The arc radius equals d/2 = 150/2 = 75 units.

Question 4: APPLIED

You are designing a campus walkway as a polyline in AutoCAD. The path currently consists of five straight-line segments. The landscape architect requests that the second segment be converted to a gentle arc (included angle ≈ 60°) and that a new vertex be added at the midpoint of the fourth segment to accommodate a future bench alcove that will be offset 2 meters from the path. Describe the grip-editing workflow and calculate the bulge factor for the 60° arc.
Show answer
Select the polyline. For the second segment, hover over the vertex grip at the start of segment 2, open the multi-functional menu, and choose 'Convert to Arc'. The bulge factor for a 60° included angle is b = tan(60°/4) = tan(15°) ≈ 0.2679. After initiating the conversion, drag the arc preview until the dynamic input displays approximately 60° or type the bulge value if prompted. For the fourth segment, hover over its midpoint grip and select 'Add Vertex' from the multi-functional menu (or simply click and drag the midpoint grip to the desired location). Place the new vertex at the geometric midpoint of segment 4, then use the Stretch operation on that new vertex grip to offset it 2 meters perpendicular to the original path direction. This creates a slight indentation in the walkway at the bench alcove.

Question 5: CRITICAL THINKING

Consider the internal data representation of a lightweight polyline in DXF format, where each vertex stores (x, y) coordinates (group code 10) and a bulge factor (group code 42). If you were to write an AutoLISP routine that replicates the 'Convert to Arc' grip operation programmatically, outline the algorithm. Specifically, address: (a) how you would identify which segment to convert, (b) how you would calculate and assign the bulge factor, and (c) what edge cases you would need to handle.
Show answer
The algorithm would proceed as follows: (a) Accept two inputs — the polyline entity name and the index i of the vertex whose outgoing segment should be converted. Retrieve the entity's DXF data via (entget ename), extract all group-code-10 entries (vertex coordinates) and group-code-42 entries (bulge factors). The segment to convert is the one from vertex i to vertex i+1. (b) Accept a desired included angle θ (or a third point through which the arc should pass), compute b = tan(θ/4), and replace the existing group-code-42 value at index i with this new bulge value using (subst) and (entmod). (c) Edge cases include: the polyline being closed (the last vertex's bulge affects the closing segment back to vertex 0); the segment already being an arc (the existing bulge ≠ 0, so you must decide whether to overwrite or compound the curvature); a bulge factor exceeding practical limits (|b| >> 1 produces near-full-circle arcs that may cause rendering issues); and validating that vertex index i is within bounds. After modifying the entity data, call (entupd ename) to refresh the display.

SUMMARY

Lesson Summary

Summary

This lesson introduced multi-functional grip editing for polylines in AutoCAD — a direct-manipulation paradigm that allows you to reshape geometry without invoking any command. By selecting a polyline and hovering over its vertex grips (blue squares) or midpoint grips (green/pink rectangles), you access context-sensitive menus that expose operations such as Stretch Vertex, Add Vertex, Remove Vertex, and the critical Convert to Arc / Convert to Line toggle.

The segment conversion operation internally modifies the bulge factor (b = tan(θ/4)) stored at each vertex, where θ is the arc's included angle. A bulge of 0 represents a straight line, and |b| = 1 represents a semicircle. Grip editing excels at rapid, visual, single-vertex modifications and complements the more comprehensive PEDIT command, which handles bulk operations, width changes, and scripted workflows. Mastering both approaches — and understanding the underlying DXF data model — positions you to work efficiently in AutoCAD and to automate polyline manipulation through AutoLISP or Python scripting in future lessons.

Varsity Tutors • AutoCAD • Grip Editing Polylines — Use multi-functional grips to edit polylines/vertices and convert segments (line ↔ arc) (intro)