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
1988 • TRIM and EXTEND Commands Mature
1994 • LENGTHEN Command Introduced
2000s • Dynamic Input Integration
2020s • Parametric and Scripting Support
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.
DELta Mode
Percent Mode
Total Mode
DYnamic Mode
Measure (Query) Mode
KEY TAKEAWAY
SECTION 3
Visual Explanation — LENGTHEN Modes in Action
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
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
Where P is the percentage value entered by the user. P = 100 yields no change; P > 100 extends; P < 100 shortens.
TOTAL MODE — LINE
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)
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.
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 Keyword | Alias | Input Required | Applicable Entities |
|---|---|---|---|
DELta | DE | Numeric increment (length or angle) | Lines, arcs, open polylines, splines |
Percent | P | Percentage value (100 = no change) | Lines, arcs, open polylines, splines |
Total | T | Absolute length or total included angle | Lines, arcs, open polylines, splines |
DYnamic | DY | Interactive 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
Step 1 — Invoke the Command
TypeLENat the command prompt and press Enter. AutoCAD responds with:Select an object or [DElta/Percent/Total/DYnamic]: - 2
Step 2 — Choose the Total Option
TypeTand press Enter to select Total mode. AutoCAD now prompts:Specify total length or [Angle] <current>: - 3
Step 3 — Enter the Target Length
Type200and 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 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
Step 5 — Verify the Result
Press Escape to exit the command, then invokeLENagain and select the line to query its length. The command line should reportCurrent 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
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.
| Feature | LENGTHEN | TRIM / EXTEND | STRETCH |
|---|---|---|---|
| Boundary required? | No — operates standalone | Yes — needs a cutting/boundary edge | No — uses a crossing window |
| Precision input | Exact numeric (delta, %, total) | Depends on boundary position | Displacement vector |
| Closed objects? | No — open entities only | Yes — can trim closed objects | Yes — moves selected vertices |
| Maintains direction? | Yes — extends/shortens along object | Yes — projects to boundary | No — arbitrary displacement |
| Best use case | Known numeric adjustment | Fitting to intersecting geometry | Deforming connected geometry |
Comparison of length-modifying commands in AutoCAD
WHEN TO USE LENGTHEN
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 Mode | Interactive Workflow | Programmatic Equivalent |
|---|---|---|
| DELta | Type increment, select near endpoint | Compute new endpoint = old + Δ × direction vector; assign to EndPoint property |
| Percent | Enter percentage, select near endpoint | new_length = old_length × (P / 100); compute new EndPoint |
| Total | Enter absolute length, select near endpoint | Directly assign EndPoint at distance T from StartPoint along direction |
| DYnamic | Drag endpoint with mouse | Requires 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
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
ent. What edge case should you handle in your script?Show answer
(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
Show answer
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.