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.
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.
DELta Mode
Percent Mode
Total Mode
DYnamic Mode
Measure (Query) Mode
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.
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.
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.
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 |
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.
LEN at the command prompt and press Enter. AutoCAD responds with: Select an object or [DElta/Percent/Total/DYnamic]:T and press Enter to select Total mode. AutoCAD now prompts: Specify total length or [Angle] <current>:200 and press Enter. This sets the desired total length to 200 drawing units.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).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.
| 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 |
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.
| 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 |
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
ent. What edge case should you handle in your script?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.