# TRIM Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [T](Help%20System/GSTARCAD/2027/Commands/T/(T).md) ## Function Description: This command is used to trim an object to make it join with other objects. To trim objects, users should firstly select a boundary, and then press Enter to select objects to be trimmed. Users can make all objects to be boundaries by pressing Enter under the first prompt of Select objects or &lt;select all&gt;:. ![](Help%20System/GSTARCAD/2027/assets/222e7df89d6feac2f071054c305f3038f9e2adf5c920874e5008ed9940f685af.png) Selects the boundary of objects to be trimmed or presses Enter to select all displayed objects as potential boundaries. The TRIM command projects the boundary and objects to be trimmed into the XY plane of the current UCS. **Note:** If the selected boundary contains block, users can only use the single selection, Crossing, Fence and Select all options. ## Command Access: > **Icon:** ![](Help%20System/GSTARCAD/2027/assets/6dd7ba1a01572b33051d7b42b9434c096d4327c463f6d7e08353aae86c084d07.png) > **Menu:** Modify > Trim > > **Ribbon:** Home > Modify > Trim > > **Toolbar:** Modify > Trim > > **Command:** TRIM > **Alias:** TR **Command Prompts:** The command line displays different prompt information according to the trim mode **Quick Mode:** ``` Current settings: Project=UCS, Edge =None, Mode=Quick Select object to trim or shift-select to extend or [cuTting edges/Fence/Crossing/mOde/Project/eRase/Undo]: ``` **Standard Mode:** ``` Current settings: Project=UCS, Edge =None, Mode=Standard Select cutting edges ... Select objects or [mOde] < select all >: Select object to trim or shift-select to extend or [cuTting edges/Fence/Crossing/mOde/Project/Edge/eRase/Undo]: ``` ## **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). In Quick mode, selecting an object that doesn't cross a boundary deletes the object instead. ## Select all Specifies that all objects in the drawing can be used as trim boundaries. ## **Select object to trim** Specifies objects to trim. The prompt for selecting trimmed objects will repeat, so you can select multiple trimmed objects. Press ENTER to exit the command. ## shift-select to extend Shift-select extends the selected objects rather than trimming them. It provides a convenient way to switch between TRIM and EXTEND commands. ## cuTting edges Uses other selected objects to define the boundaries to which objects are trimed. ## **Fence** Selects all objects that intersected with fence. The selection fence is a series of temporary segments, they are defined by two or more points. The selection fence does not form a closed loop. ![](Help%20System/GSTARCAD/2027/assets/2fd6a5890def41fc9caf8cadc58b0fef6201512dcf3ec488752d6a1f94059a92.png) ## **Crossing** Selects objects within and crossing the rectangular area. The rectangular area is defined by two points. **Note:** If it is uncertain for some objects to be trimmed by crossing selected, the TRIM command selects objects along the clockwise direction from the first selection point. ![](Help%20System/GSTARCAD/2027/assets/3051e921a64734a99d0efe8e1c4db115e509020804a9db1318460f4e21541927.png) ## **mOde** There are two modes for trimming objects: Quick mode and Standard mode. The default trimming mode is set to Quick, which uses all objects as potential cutting edges. If set to Standard, this mode will prompt you to select cutting edges. ## **Project** Uses the projection to trim objects. ``` Enter a projection option [None/Ucs/View] : ``` - **None:** No projection. It only trims objects that intersected with selected boundary in 3D space. ![](Help%20System/GSTARCAD/2027/assets/c3e9775a902f03de5389a0d63c51da4ff72a88e4a611dce5dbffa6fd44c0a636.png) - **Ucs:** Specifies projection onto the XY plane of the current UCS. It trims objects that intersected with the selected boundary on the XY plane in the current UCS. Objects without intersection with selected boundary are not trimmed in 3D space. ![](Help%20System/GSTARCAD/2027/assets/2dc698f18a995d57d4631e2aa6ae5579253516ac66ac90b31d8f4916ec08191b.png) - **View:** Specifies projection along the direction of the current view. It trims objects that intersected with the selected boundary in the current view. ![](Help%20System/GSTARCAD/2027/assets/2f5fcc4f1a45402544fea9aee64957598525967fe5fe237e110b0959e55fa6ad.png) ## **Edge** Determines to trim the object at the intersection in 3D space or on its extended edge. ``` Enter an implied edge extension mode [Extend/No extend] : ``` - **Extend:** Extends the selected object along the direction of its own and trims it at the intersection point on the XY plane in the current UCS. ![](Help%20System/GSTARCAD/2027/assets/4e7912b623dcedd346d8801f0ebe2d3253542ffe371065fda552f2b52def7a0f.png) ![](Help%20System/GSTARCAD/2027/assets/c7fb522c7ade90c65e91bb3d302fb942da1593559706db97e906ea3cfc1915c4.png) - **No extend:** The selected object can be trimmed on the condition that they are intersected in 3D space. ![](Help%20System/GSTARCAD/2027/assets/c23880138d4130dd3739ec70dc277cab8adae4404a01a7965b8d20f1c32483a5.png)![](Help%20System/GSTARCAD/2027/assets/05cff4cfe25abd67e553a4b879246bcbcb9dc8c110a256b13786382071f055bc.png) ## **eRase** Deletes selected objects. It provides a convenient way to erase needless objects without exiting the TRIM command. ## **Undo** Quits the latest change made by TRIM command. --- **Related References:** - [Commands about Resizing Objects (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Resizing%20Objects.md) **Related Tasks:** - [To Trim an Object (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Trim%20an%20Object.md) - [To Extend an Object (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Extend%20an%20Object.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_T/TRIM.html) · © Gstarsoft Co., Ltd.