AutoCAD • Advanced Editing and Productivity

Lengthen Command — Use Lengthen to adjust object lengths accurately (intro)

Master precise geometric modifications by extending or shortening lines, arcs, and polylines with parametric control.

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

SECTION 1

Historical Context & Motivation

The evolution of CAD editing tools has always been driven by the fundamental need to make precise, non-destructive modifications to geometry after initial placement. In early drafting systems of the 1970s and early 1980s, modifying an object's length typically required deleting the original entity and redrawing it from scratch — a tedious workflow that introduced the possibility of cumulative dimensional errors. As AutoCAD matured through its release cycles, Autodesk recognized that practitioners needed granular control over object dimensions without reconstructing geometry. The LENGTHEN command was introduced to fill a gap between rudimentary editing tools like TRIM and EXTEND, which rely on boundary objects, and the more destructive approach of deleting and re-creating entities.

1982 • AutoCAD 1.0 Released

Autodesk released AutoCAD 1.0 with basic entity creation and editing. Modifying object lengths required manual deletion and redraws, with no parametric or incremental editing capabilities.

1988 • TRIM and EXTEND Commands Mature

AutoCAD Release 10 introduced robust TRIM and EXTEND operations that allowed objects to be cut or stretched to boundary edges, but these required an existing boundary entity as a reference.

1994 • LENGTHEN Command Introduced

AutoCAD Release 13 added the LENGTHEN command, enabling users to modify object lengths by absolute, relative (delta), or percentage values — without requiring a boundary object. This filled a critical workflow gap for precise editing.

2000s • Dynamic Input Integration

Modern AutoCAD versions integrated LENGTHEN with Dynamic Input and the Properties palette, allowing real-time feedback and interactive dragging modes that make length adjustments more intuitive.

2020s • Parametric and Scripting Support

Contemporary AutoCAD supports LENGTHEN through AutoLISP, .NET API calls, and parametric constraint systems, enabling automated and programmatic length modifications in batch workflows.

The central question the LENGTHEN command addresses is straightforward but critical: how does a drafter modify the measured length or included angle of an existing open object — a line, arc, open polyline, or elliptical arc — by a precise amount, without needing to reference another geometric entity as a cutting or extension boundary? This capability distinguishes LENGTHEN from TRIM and EXTEND in a way that is especially relevant for iterative design workflows common in engineering and computer science visualization tasks.

SECTION 2

Core Principles & Definitions

The LENGTHEN command operates on open geometric entities — objects that have distinguishable endpoints, such as lines, arcs, open polylines, splines, and elliptical arcs. It cannot operate on closed objects like circles or closed polylines because those entities have no definable 'end' to extend or shorten. Understanding this constraint is the first principle: LENGTHEN manipulates geometry relative to the endpoint nearest to where you select the object, preserving the opposite endpoint as an anchor.

1

DELta Mode

Modifies object length by adding or subtracting a specified increment. Enter a positive value to extend, negative to shorten. For arcs, you can specify a delta angle in degrees.
2

Percent Mode

Scales the total length (or included angle for arcs) to a percentage of its current value. A value of 150 makes the object 50% longer; a value of 75 shortens it by 25%.
3

Total Mode

Sets the object's absolute total length (or total included angle for arcs) to the value you specify. The object adjusts from the endpoint nearest to your selection point.
4

DYnamic Mode

Enables interactive dragging: select an endpoint and move it to a new location. The object updates in real time, and you can type a distance or angle during the drag for precision.
5

Measure (Query) Mode

The default when you first invoke LENGTHEN without an option. Selecting an object reports its current length and included angle (for arcs) without modifying anything — a non-destructive inspection.
✦

KEY TAKEAWAY

Think of the LENGTHEN command as analogous to resizing a dynamically allocated array in memory. Just as you can grow or shrink an array by specifying a new absolute size, a relative offset, or a scaling factor — and the operation anchors at the base address while adjusting the tail — LENGTHEN anchors one endpoint of a geometric object and adjusts the other. The four modes (DELta, Percent, Total, DYnamic) correspond to relative offset, multiplicative scaling, absolute assignment, and interactive pointer-driven reallocation, respectively.

SECTION 3

Visual Explanation — LENGTHEN Modes in Action

LENGTHEN Command — Four Operational ModesDELta Mode (+30 units)Anchor+30Original: 200 → New: 230Percent Mode (150%)Anchor×1.5Original: 200 → New: 300Total Mode (set to 180)Anchor−20Original: 200 → New: 180 (shortened)DYnamic Mode (drag)AnchordragInteractive real-time adjustmentSelection Point Determines Which End MovesEnd AEnd BClick here → End B movesClick here → End A moves
The diagram illustrates the four LENGTHEN modes applied to a 200-unit line. DELta adds or subtracts a fixed increment. Percent scales the total length proportionally. Total sets an absolute target length. DYnamic allows interactive endpoint dragging. The bottom panel shows that the selection point on the object determines which endpoint is treated as the movable end.

The diagram above encapsulates the operational semantics of LENGTHEN. In each mode, the pink circle represents the anchored endpoint — the end that remains fixed — while the colored circle at the opposite end shows where the geometry has been adjusted. The critical takeaway from the lower panel is that AutoCAD uses proximity-based selection logic: when you click an object to apply LENGTHEN, the endpoint nearest to your click location is the one that moves. This behavior is deterministic and consistent across all four modes, making it predictable once you internalize the rule. For lines, the modification is purely translational along the line's direction vector; for arcs, the endpoint sweeps along the arc's parent circle, increasing or decreasing the included angle while preserving the center point and radius.

SECTION 4

How LENGTHEN Computes New Geometry

Although LENGTHEN is not a mathematically intensive command from the user's perspective, understanding how AutoCAD internally computes the new endpoint position is valuable for scripting and automation. The underlying geometry depends on the entity type being modified, and the formulas below formalize the relationship between the original object, the selected mode, and the resulting modification.

DELTA MODE — LINE

Lnew=Loriginal+ΔL_new = L_original + Δ

Where Lnew is the resulting length, Loriginal is the current length, and Δ is the signed increment (positive to extend, negative to shorten).

PERCENT MODE — LINE

Lnew=Loriginal×(P/100)L_new = L_original × (P / 100)

Where P is the percentage value entered by the user. P = 100 yields no change; P > 100 extends; P < 100 shortens.

TOTAL MODE — LINE

Lnew=TL_new = T

Where T is the absolute total length specified by the user. The effective delta is computed internally as Δeff = T − Loriginal.

DELTA MODE — ARC (ANGLE)

θnew=θoriginal+Δθ;Larc=r×θnewθ_new = θ_original + Δθ ; L_arc = r × θ_new

For arcs, the included angle θ (in radians) is adjusted by Δθ. The arc length is then Larc = r × θnew, where r is the radius (which remains constant).

The new endpoint position for a line is computed by projecting along the line's unit direction vector. If the line runs from point A (the anchor) to point B (the movable end), the direction vector is d̂ = (B − A) / |B − A|, and the new endpoint B' is calculated as B' = A + d̂ × L_new. For arcs, the center and radius remain invariant; only the angular span changes, and the movable endpoint sweeps to a new position on the parent circle. This distinction is why LENGTHEN can specify either a length delta or an angle delta when operating on arcs, and why both sub-options appear in the DELta and Total prompts.

SECTION 5

Detailed Command Syntax & Workflow

Invoking LENGTHEN can be accomplished by typing LENGTHEN (or the alias LEN) at the command line, by navigating to Modify → Lengthen from the menu bar, or by locating the tool in the Modify panel of the Home tab on the Ribbon. Once invoked, AutoCAD presents a prompt asking you to select an object or choose a mode option. If you select an object without specifying a mode, the command defaults to its measure (query) behavior, displaying the current length and included angle at the command line. Understanding this default is important because many new users expect an immediate modification and are confused when nothing changes.

LENGTHEN Command — Decision FlowchartLENGTHEN (LEN)Select object or choose option?Select ObjectReports current length& included angle (query)Choose OptionDE (Delta)P (Percent)T (Total)DY (Dynamic)Enter increment(or Angle delta)Enter percentage(e.g., 150)Enter total length(or total Angle)Drag endpointinteractivelySelect object(s) → Apply modification
This flowchart traces the LENGTHEN command from invocation to execution. After typing LEN, you either select an object (which triggers a query report) or choose one of four mode options — DELta, Percent, Total, or DYnamic — each requiring a specific input before selecting the target object.
Option KeywordAliasInput RequiredApplicable Entities
DELtaDENumeric increment (length or angle)Lines, arcs, open polylines, splines
PercentPPercentage value (100 = no change)Lines, arcs, open polylines, splines
TotalTAbsolute length or total included angleLines, arcs, open polylines, splines
DYnamicDYInteractive drag (optional typed distance)Lines, arcs, open polylines, splines

LENGTHEN command options and their aliases

SECTION 6

Worked Example — Adjusting a Network Diagram Segment

Consider a scenario where you are drafting a network topology diagram in AutoCAD. A horizontal line representing an Ethernet segment between two nodes currently measures 150 drawing units, but the revised specification calls for a total cable length of 200 units. You want to extend the line from its right endpoint while keeping the left endpoint anchored at the first node's position.

Extending a Line Using Total Mode

  1. 1

    Step 1 — Invoke the Command

    Type LEN at the command prompt and press Enter. AutoCAD responds with: Select an object or [DElta/Percent/Total/DYnamic]:
  2. 2

    Step 2 — Choose the Total Option

    Type T and press Enter to select Total mode. AutoCAD now prompts: Specify total length or [Angle] <current>:
  3. 3

    Step 3 — Enter the Target Length

    Type 200 and press Enter. This sets the desired total length to 200 drawing units.
    Target total length: 200 units
  4. 4

    Step 4 — Select the Object Near the Movable End

    Click the line closer to its right endpoint (the end you want to move). AutoCAD calculates the effective delta as Δeff = 200 − 150 = 50 units and extends the right endpoint by 50 units along the line's direction vector.
    Line extended: 150 → 200 units (right endpoint moved +50 units)
  5. 5

    Step 5 — Verify the Result

    Press Escape to exit the command, then invoke LEN again and select the line to query its length. The command line should report Current length: 200.0000. Alternatively, select the line and check the Length field in the Properties palette (Ctrl+1).
    Verified length: 200.0000 units ✓
💡

Undo Safety

Every LENGTHEN operation is fully undoable with Ctrl+Z. If you accidentally select near the wrong endpoint, undo and re-select closer to the intended movable end. For batch operations on many objects with the same delta, note that LENGTHEN remains in its selected mode until you exit — you can continue clicking additional objects to apply the same modification repeatedly.

SECTION 7

LENGTHEN vs. TRIM, EXTEND, and STRETCH

One of the most common points of confusion for intermediate AutoCAD users is knowing when to use LENGTHEN versus the related commands TRIM, EXTEND, and STRETCH. Each command serves a distinct purpose and operates under different constraints, though their effects can sometimes overlap. The table below provides a systematic comparison across the dimensions most relevant to efficient drafting workflows.

FeatureLENGTHENTRIM / EXTENDSTRETCH
Boundary required?No — operates standaloneYes — needs a cutting/boundary edgeNo — uses a crossing window
Precision inputExact numeric (delta, %, total)Depends on boundary positionDisplacement vector
Closed objects?No — open entities onlyYes — can trim closed objectsYes — moves selected vertices
Maintains direction?Yes — extends/shortens along objectYes — projects to boundaryNo — arbitrary displacement
Best use caseKnown numeric adjustmentFitting to intersecting geometryDeforming connected geometry

Comparison of length-modifying commands in AutoCAD

⚡

WHEN TO USE LENGTHEN

Choose LENGTHEN when you know the exact numeric change you need and there is no convenient boundary object. Think of it as the difference between using a programmatic resize() method that takes a precise size parameter (LENGTHEN) versus a clipToBounds() method that requires a bounding region (TRIM/EXTEND). If you have the numeric value, use LENGTHEN; if you have a geometric boundary, use TRIM or EXTEND.

SECTION 8

Connection to Scripting and Parametric Workflows

For computer science students, the most powerful aspect of LENGTHEN lies not in its interactive use but in its programmability. AutoCAD's AutoLISP and .NET API provide programmatic access to the same geometric modifications that LENGTHEN performs interactively. In AutoLISP, you would use (command "LENGTHEN" "T" 200 (entlast) "") to set the last created entity to a total length of 200 units. In the .NET API, you directly manipulate entity properties — for a Line object, you modify its EndPoint property; for an Arc, you adjust StartAngle and EndAngle. Understanding LENGTHEN's modes helps you reason about which API properties to manipulate.

LENGTHEN ModeInteractive WorkflowProgrammatic Equivalent
DELtaType increment, select near endpointCompute new endpoint = old + Δ × direction vector; assign to EndPoint property
PercentEnter percentage, select near endpointnew_length = old_length × (P / 100); compute new EndPoint
TotalEnter absolute length, select near endpointDirectly assign EndPoint at distance T from StartPoint along direction
DYnamicDrag endpoint with mouseRequires GUI event loop — use Jig class in .NET for interactive previews

Mapping LENGTHEN modes to programmatic operations

As you advance into parametric constraints and dynamic blocks, the concept of adjusting an object's length becomes even more powerful. Parametric dimensions allow you to define a length as a variable expression (e.g., cable_length = rack_spacing × 1.15), and changing the variable automatically updates all constrained geometry. Dynamic blocks embed LENGTHEN-like behavior into reusable block definitions with grip-driven stretch actions. These advanced tools build directly on the foundational concepts covered in this lesson.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why the LENGTHEN command cannot be used on a closed polyline or a circle. What property of these entities makes them incompatible with LENGTHEN's operational model?
Show answer
LENGTHEN requires an entity with two distinct endpoints so that it can anchor one end and modify the other. A closed polyline and a circle have no distinguishable start or end point — every point on the entity is topologically equivalent, making it impossible for AutoCAD to determine which 'end' to move and which to anchor. To modify a circle's geometry, you would need to convert it to an arc first or use commands like SCALE. This constraint reflects a fundamental design decision: LENGTHEN operates on the linear or angular measure of open curves relative to their terminal points.

Question 2: BASIC CALCULATION

A line segment currently measures 120 drawing units. You use LENGTHEN with the Percent option and enter a value of 175. What is the resulting length of the line?
Show answer
Using the Percent formula: Lnew = Loriginal × (P / 100) = 120 × (175 / 100) = 120 × 1.75 = 210 units. The line is extended by 90 units (a 75% increase) from the endpoint nearest to the selection point. If the line runs horizontally from (0, 0) to (120, 0) and you select near the right end, the new right endpoint becomes (210, 0).

Question 3: INTERMEDIATE

An arc has a radius of 50 units and a current included angle of 90°. You want to lengthen it using DELta mode with an angle increment of 45°. What is the new arc length? Express your answer using the arc length formula L = r × θ (with θ in radians).
Show answer
The new included angle is θnew = 90° + 45° = 135°. Converting to radians: 135° × (π / 180) = 3π/4 ≈ 2.3562 radians. The new arc length is L = r × θ = 50 × (3π/4) = 150π/4 = 37.5π ≈ 117.81 units. The original arc length was 50 × (π/2) = 25π ≈ 78.54 units, so the arc was lengthened by approximately 39.27 units. The radius and center point remain unchanged; only the angular sweep and consequently the endpoint position change.

Question 4: APPLIED

You are writing an AutoLISP script to standardize all horizontal conduit lines on layer 'CONDUIT' to exactly 500 drawing units. Describe the LENGTHEN mode you would use and write the AutoLISP expression to apply this to a line entity stored in variable ent. What edge case should you handle in your script?
Show answer
You would use Total mode to set each line to an absolute length of 500. The AutoLISP approach via the command interface would be: (command "LENGTHEN" "T" 500 ent ""). However, this requires careful handling of the selection point proximity issue — the command will modify the endpoint nearest to the entity name's selection point, which may not be deterministic when called programmatically. A more robust approach is to directly compute the new endpoint: retrieve StartPoint and EndPoint from the entity data, compute the direction vector, and use (entmod) to set the EndPoint to StartPoint + direction × 500. The critical edge case is lines already longer than 500 units — your script must handle shortening gracefully, and you should verify the line isn't zero-length or degenerate before computing the direction vector to avoid division by zero.

Question 5: CRITICAL THINKING

A colleague argues that LENGTHEN is redundant because you can achieve the same result by using EXTEND with a construction line placed at the target distance, or by using the Properties palette to type a new length directly. Critically evaluate this claim: in what specific scenarios does LENGTHEN offer genuine advantages over these alternative approaches? Are there any scenarios where the alternatives are strictly superior?
Show answer
LENGTHEN offers distinct advantages in several scenarios. First, DELta mode handles relative increments without requiring the user to calculate absolute values — useful when adjusting by a tolerance offset (e.g., 'make this 5mm longer'). Neither the Properties palette (which requires computing the new total) nor EXTEND (which requires placing a construction line at the exact distance) handle this as efficiently. Second, Percent mode enables proportional scaling that is cumbersome to replicate manually. Third, LENGTHEN's batch capability — remaining in mode while you click multiple objects — is significantly faster than editing each entity individually in Properties. However, the alternatives do have advantages: the Properties palette allows simultaneous editing of multiple properties and works on closed objects; EXTEND is superior when geometry naturally intersects because it automatically projects to the boundary without numeric input. The claim of redundancy is therefore oversimplified; each tool occupies a distinct niche in the editing workflow, and proficiency requires knowing which tool optimizes each situation.

SUMMARY

Lesson Summary

Summary

The LENGTHEN command provides precise, boundary-independent control over the length of open geometric entities — lines, arcs, open polylines, and splines — through four distinct modes. DELta mode adds or subtracts a fixed increment. Percent mode scales proportionally relative to the current length. Total mode sets an absolute target dimension. DYnamic mode enables interactive dragging with optional typed precision. In every mode, the selection point proximity determines which endpoint moves while the opposite endpoint remains anchored.

LENGTHEN distinguishes itself from TRIM and EXTEND by not requiring a boundary entity, and from STRETCH by preserving the object's direction vector rather than applying arbitrary displacement. For arcs, the command adjusts the included angle while preserving radius and center. In programmatic workflows using AutoLISP or .NET, LENGTHEN's logic maps directly to endpoint coordinate manipulation, making it a foundational concept for automated CAD scripting and parametric design systems.

Varsity Tutors • AutoCAD • Lengthen Command — Use Lengthen to adjust object lengths accurately (intro)