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.

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.

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.

Visual Explanation — LENGTHEN Modes in Action

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.

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
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
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
L_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 + Δθ ; 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.

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.

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.
LENGTHEN command options and their aliases
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

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
Step 1 — Invoke the CommandType LEN at the command prompt and press Enter. AutoCAD responds with: Select an object or [DElta/Percent/Total/DYnamic]:
2
Step 2 — Choose the Total OptionType T and press Enter to select Total mode. AutoCAD now prompts: Specify total length or [Angle] <current>:
3
Step 3 — Enter the Target LengthType 200 and press Enter. This sets the desired total length to 200 drawing units.
Target total length: 200 units
4
Step 4 — Select the Object Near the Movable EndClick 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
Step 5 — Verify the ResultPress 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.

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.

Comparison of length-modifying commands in AutoCAD
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
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.

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.

Mapping LENGTHEN modes to programmatic operations
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

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.

Practice Problems

PROBLEM 1CONCEPTUAL
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?
PROBLEM 2BASIC 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?
PROBLEM 3INTERMEDIATE
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).
PROBLEM 4APPLIED
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?
PROBLEM 5CRITICAL 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?

Lesson 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)