Hide Table of Contents

Trimming Entities

Use the Trim command to cut drawing entities precisely at the edges defined by one or more entities.

Consider the following:

  • Use Lines, InfiniteLines, Rays, PolyLines, Circles, Arcs, Ellipses, Splines, and Hatches as cutting edges to trim the selected entities.
  • You can trim Hatches at cutting edges, but you cannot trim Hatches at Hatches. Trimmed Hatches maintain associativity with changed boundary entities, even if they are divided into different hatched areas. Divided Hatches remain as one entity, but you can use the EditHatch command to separate them into individual entities (dialog box option Create Hatch for each boundary). The same applies to Gradients.
  • The same applies to Gradients.
  • You cannot trim Dimensions, Notes, SimpleNotes, Regions, or Blocks, but you can use them as cutting edges.
  • To trim intersecting and adjoining RichLines, use the EditRichLine command.
  • When you select a PolyLine as a cutting edge, the command trims at its centerline.
  • On Sheets, Viewports can be cutting edges.

To trim entities:

  1. Do one of the following:
    • On the ribbon, click Home > Modify > Trim.
    • On the menu, click Modify > Trim.
    • Type Trim at the command prompt.
  2. In the graphics area, select entities to make up the cutting edge.
  3. Press Enter.
  4. In the graphics area, select entities on the side that you want to trim or specify options:
    • Crossing. Selects entities within and crossing a rectangle determined by two opposite points. If a crossing selection is not distinct, Trim resolves the selection by following the defined rectangle clockwise from the first point to the first entity encountered.
    • Crossline. Uses the fence selection method to trim the entities on the side the fence line crosses.
    • Edge. Trims to a a cutting edge that if extended, intersects the entity. The entities to trim do not have to actually intersect cutting edges. To trim at an implied intersection, specify the Edge option followed by the Extend option.
    • Erase. Deletes unneeded entities without exiting the Trim command.
    • Project. Sets the projection mode to CCS (the X-Y plane of the active Custom Coordinate System), None, or View.
    • Undo. Reverses the most recent trim operation.
    • Shift + select. Extends entities while you hold down Shift and select entities.

    After you select entities, the trimmed parts of the entities disappear.

  5. Press Enter.


Command: Trim

Ribbon: Home > Modify > Trim

Menu: Modify > Trim

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Trimming Entities
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: 2023 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.