Modify Commands
About 2 min
Modify Commands
Modify commands are used to perform trim, extend, explode, and other operations on graphics.
TRIM - Trim
Trim objects using other objects as boundaries.
Command Name: TRIM
Alias: TR
Usage
Command: TRIM
Select trim boundaries
Select objects: <select objects to use as boundaries>
n graphics selected.
Trim boundary extension
Indicate graphics to trim: <click on the part to trim>Workflow
- Select one or more objects as trim boundaries
- Press Enter to confirm boundary selection
- Click on the part of the graphic to trim away
- Continue clicking other parts to trim, or press Enter to finish
Supported Object Types
| Object Type | Trim Result |
|---|---|
| Line (LINE) | Retained or split into multiple segments after trimming |
| Arc (ARC) | Retained or split into multiple arcs after trimming |
| Circle (CIRCLE) | Becomes an arc after trimming |
| Polyline (PLINE) | Retained or split after trimming |
| Ray (RAY) | May become a line after trimming |
| Construction Line (XLINE) | May become a ray or line after trimming |
| Linear Dimension (DIMLINEAR) | Trim dimension endpoints |
EXTEND - Extend
Extend objects to meet other objects.
Command Name: EXTEND
Alias: EX
Usage
Command: EXTEND
Extend
Select objects: <select objects to use as boundaries>
n graphics selected.
Indicate graphics to extend: <click on the object to extend, near the boundary end>Workflow
- Select one or more objects as extend boundaries
- Press Enter to confirm boundary selection
- Click on the object to extend (near the boundary end)
- Continue clicking other objects to extend, or press Enter to finish
Supported Object Types
- Line (LINE)
- Arc (ARC)
- Polyline (PLINE) - Open polylines
- Ray (RAY)
- Group (GROUP) - Extend sub-entities within the group
EXPLODE - Explode
Explode compound objects into their independent component parts.
Command Name: EXPLODE
Alias: X
Usage
Command: EXPLODE
Explode.
Select objects: <select objects to explode>
n graphics selected.Explodable Object Types
| Object Type | Explode Result |
|---|---|
| Block Reference (INSERT) | Individual entities from the block definition |
| Polyline (PLINE) | Independent lines and arcs |
| Group (GROUP) | Individual entities within the group |
| Custom Entity (CUSTOM) | Component parts of the custom entity |
Notes
- Exploded objects may lose certain properties (such as polyline global width)
- Nested blocks require multiple explode operations
- Some objects (such as circles, lines) cannot be exploded
PLINEJOIN - Polyline Join
Join multiple consecutive line segments into a single polyline.
Command Name: PLINEJOIN
Usage
Command: PLINEJOIN
Select objects: <select line segments to join>Join Conditions
- Endpoints must be connected or within tolerance
- Can join lines and arcs
ERASE - Erase
Delete selected objects.
Command Name: ERASE
Alias: E
Usage
Command: ERASE
Select objects: <select objects to delete>Shortcuts
- Select objects then press the
Deletekey - Select objects then enter the
Ecommand
CUTREC - Rectangular Cut
Cut objects using a rectangular region.
Command Name: CUTREC
Usage
Command: CUTREC
Specify first corner: <click>
Specify opposite corner: <click>Description
Cuts objects that intersect with the specified rectangular region, similar to batch trimming using rectangular boundaries.
Script Examples
; Create graphics with trimming
LINE
0,0
100,100
LINE
0,100
100,0
; Explode a block
EXPLODE
<select block>Next Steps
- Layer Commands - Layer management
- Block Commands - Block definition and insertion
- Command Reference - View all commands