TRIM (Command)

Trims objects to meet the edges of other objects.


To trim objects, select the boundaries and press Enter. Then select the objects that you want to trim. To use all objects as boundaries, press Enter at the first Select Objects prompt.

The following prompts are displayed.

Select cutting edges

Specifies one or more objects to be used as a boundary for the trim. TRIM projects the cutting edges and the objects to be trimmed onto the XY plane of the current user coordinate system (UCS).

Note: To select cutting edges that include blocks, you can use only the single selection, Crossing, Fence, and Select All options.
Select objects
Specifies objects individually.
Select all
Specifies that all objects in the drawing can be used as a trim boundary.

Object to Trim

Specifies the object to trim. If more than one trim result is possible, the location of the first selection point determines the result.

Shift-Select to Extend

Extends the selected objects rather than trimming them. This option provides an easy method to switch between trimming and extending.


Selects all objects that cross the selection fence. The selection fence is a series of temporary line segments that you specify with two or more fence points. The selection fence does not form a closed loop.


Selects objects within and crossing a rectangular area defined by two points.

Note: Some crossing selections of objects to be trimmed are ambiguous. TRIM resolves the selection by following along the rectangular crossing window in a clockwise direction from the first point to the first object encountered.


Specifies the projection method used when trimming objects.


Specifies no projection. The command trims only objects that intersect with the cutting edge in 3D space.


Specifies projection onto the XY plane of the current UCS. The command trims objects that do not intersect with the cutting edge in 3D space.


Specifies projection along the current view direction. The command trims objects that intersect the boundary in the current view.


Determines whether an object is trimmed at another object's extrapolated edge or only to an object that intersects it in 3D space.


Extends the cutting edge along its natural path to intersect an object in 3D space.

No Extend

Specifies that the object is trimmed only at a cutting edge that intersects it in 3D space.

Note: When trimming hatches, do not set Edge to Extend. If you do, gaps in the trim boundaries will not be bridged when trimming hatches, even when the gap tolerance is set to a correct value.


Deletes selected objects. This option provides a convenient method to erase unneeded objects without leaving the TRIM command.


Reverses the most recent change made by TRIM.