01 / 21

Advanced Trim/Extend

Master the powerful selection methods and edge options: Fence, Crossing, Edge, and Project modes to accelerate your drafting workflow.

AutoCAD

What Are Trim & Extend?

Trim removes portions of objects at a cutting edge. Extend stretches objects to meet a boundary edge. Together they are the most-used editing commands in AutoCAD, invoked thousands of times in every drawing session.

TRIM removed EXTEND added

Why Go Beyond the Basics?

Clicking objects one at a time works for simple drawings, but real-world plans contain hundreds of intersecting lines. Advanced options let you trim or extend many objects in a single pass.

Speed
Fence selection trims dozens of objects with one drag.
Precision
Edge mode lets you trim to implied (extended) boundaries.
3D Ready
Project mode handles objects on different planes in 3D.

The Command-Line Options

After launching TRIM or EXTEND, the command line shows several sub-options. Here are the key ones you need to master:

Command: TRIM
Select cutting edges... <Select all>: ↵
Select object to trim or [Fence / Crossing / Project / Edge / eRase / Undo]:

Fence Selection Method

Fence draws a temporary polyline through the drawing. Every object the fence crosses gets trimmed (or extended). It is the fastest way to trim many objects at once.

cutting edge Fence

Crossing Selection Method

Crossing works like a crossing window: you draw a rectangle, and every object that touches or is inside the rectangle is selected for trim/extend. Best for dense, clustered areas.

cutting edge Crossing

The Edge Mode Option

Edge controls whether AutoCAD only trims/extends to a physical intersection, or can use an implied (extended) boundary. This is critical when your cutting edge does not actually touch the object.

No Extend
Default mode: the cutting/boundary edge must physically intersect the object.
Extend
AutoCAD imagines the boundary edge continuing, and trims/extends to that implied intersection.
Edge: No Extend ✕ Can't extend Edge: Extend implied

The Project Mode Option

Project determines how AutoCAD calculates intersections for 3D objects. It has three settings:

1
None: Objects must actually intersect in 3D space. No projection.
2
UCS: Projects objects onto the current User Coordinate System plane, then trims/extends. Most common for 2D work.
3
View: Projects objects onto the current view plane. Useful in 3D modelling when you want visual intersection.

Fence vs Crossing vs Individual

Fence Crossing Individual
Selection shape Polyline path Rectangle Single click
Best for Linear arrays Dense clusters Precise picks
Speed ★★★ ★★ ★
Risk of over-trim Medium Higher Lowest

How to Apply Advanced Trim

1
Launch the command: Type TRIM or press TR then Enter.
2
Select cutting edges or press Enter to select all objects as edges.
3
Set Edge mode if needed: type E, then choose Extend for implied boundaries.
4
Choose selection method: type F for Fence or C for Crossing.
5
Draw the fence/crossing through all objects to trim. Press Enter to finish.
6
Hold Shift to temporarily switch between Trim and Extend for a single selection.

Example 1: Fence Trim

You have five horizontal lines crossing a vertical boundary. Trim everything to the right of the boundary using Fence.

boundary F (Fence) trimmed

Example 2: Edge Mode Extend

A horizontal line stops short of a diagonal boundary. They do not physically intersect. Use Edge: Extend mode to extend to the implied intersection.

boundary gap implied intersection
Command: EXTEND
Select boundary edges: (click diagonal)
Select object... [Edge]: E → Extend
Select object to extend: (click horizontal line)

Example 3: Select All + Fence

In AutoCAD 2021+, pressing Enter at "Select cutting edges" means all objects become cutting edges. Combined with Fence, this is the fastest trim workflow:

Fence trimmed

Hidden Helpers: eRase & Undo

Two often-overlooked sub-options inside TRIM/EXTEND can save you from exiting the command:

eRase (R)
Deletes an entire object without leaving the trim command. Useful for stray lines you notice mid-trim.
Undo (U)
Reverses the last trim/extend action. Press U multiple times to undo several steps, all without restarting.

Common Mistakes

✕ Wrong Edge Mode
Trying to trim to an implied boundary with Edge set to "No Extend": nothing happens. Switch Edge mode first.
✕ Fence on Wrong Side
Drawing the fence across the side you want to keep instead of the side you want to remove.
✕ Forgetting Select All
Manually selecting cutting edges when pressing Enter would select all: wastes time and misses edges.

Summary: Options at a Glance

Option Key What It Does
Fence F Polyline path selects objects to trim/extend
Crossing C Rectangle selects all touched objects
Edge E Toggle implied boundary (Extend/No Extend)
Project P Set 3D projection mode (None/UCS/View)
eRase R Delete entire object mid-command
Undo U Reverse last action without exiting
Shift Shift Toggle between Trim and Extend

Question 1 of 5

Which selection method draws a temporary polyline through the drawing to select multiple objects for trimming at once?

Question 2 of 5

You need to extend a line to a boundary edge that does not physically intersect it. Which option must you change?

Question 3 of 5

In AutoCAD 2021+, pressing Enter at the "Select cutting edges" prompt does what?

Question 4 of 5

You accidentally trimmed the wrong segment. What is the fastest way to fix it without leaving the TRIM command?

Question 5 of 5

Which Project mode should you use for standard 2D drafting work?