Updated December 2026: a full XCLIP guide for AutoCAD 2027 and earlier, with the original 2008 XCLIPFRAME tip kept at the end.
The short answer: type XCLIP, select the xref or block, press Enter for New boundary, then pick Rectangular, Polygonal or Select polyline. AutoCAD hides everything outside the boundary, or inside it if you choose Invert clip. XCLIPFRAME controls the boundary frame: 0 hides it, 1 shows and plots it, and 2 (the default) shows it but does not plot it.
How to clip an xref or block with XCLIP
- Type XCLIP and press Enter.
- Select the xref or block reference and press Enter.
- Press Enter to accept New boundary. If the reference is already clipped, AutoCAD asks you to delete the old boundary first.
- Choose how to draw the boundary:
- Rectangular: pick two opposite corners.
- Polygonal: pick three or more points.
- Select polyline: pick an existing polyline. It can be open, but it must have straight segments only and cannot cross itself.
- Invert clip: switch to hiding what is inside the boundary, then draw the boundary.
The clip only changes what you see. The objects in the xref or block are not changed, and the clipped reference still moves, copies and rotates with its boundary.
Tip: the generic CLIP command clips xrefs, blocks, images, viewports and PDF, DWF and DGN underlays, so you only need one command to remember.
XCLIP options
| Option | What it does |
|---|---|
| On | Shows the clipped view of the xref or block. |
| Off | Shows the whole xref or block and ignores the boundary. The boundary is kept. |
| Clipdepth | Adds front and back clipping planes for 3D, parallel to the boundary. |
| Delete | Removes the boundary and any clip depth. ERASE cannot remove a clip boundary. |
| Generate polyline | Draws a polyline on top of the boundary on the current layer, so you can edit it with PEDIT and use it as a new boundary. |
| New boundary | Draws a rectangular or polygonal boundary, or uses a polyline. |
XCLIPFRAME: show, hide or plot the clip frame
XCLIPFRAME is saved in the drawing.
| Value | Frame on screen | Frame on plot |
|---|---|---|
| 0 | Hidden (shows only while you select) | No |
| 1 | Shown | Yes |
| 2 (default) | Shown | No |
The FRAME system variable overrides XCLIPFRAME. If you set FRAME, set XCLIPFRAME again afterwards to get the xref frame back to what you want.
Edit or invert a clip with grips
Select a clipped xref or block while its frame is showing. Drag the boundary grips to reshape it. A rectangular boundary stays a rectangle because both vertices on a side move together. Click the arrow grip at the middle of the first edge to flip the clip between hiding the outside and hiding the inside.
When XCLIP does not do what you expect
- The whole xref shows again: clipping is turned off. Run XCLIP, select it and choose On.
- Your polyline is rejected: it has arc segments or crosses itself. Redraw it with straight segments.
- You cannot see or grab the frame: XCLIPFRAME is 0, or FRAME changed it. Set XCLIPFRAME to 2.
- The frame shows on your plot: XCLIPFRAME is 1. Set it to 2.
- You cannot erase the boundary: use XCLIP Delete instead of ERASE.
- Something still shows outside the boundary: images inside an xref or block clip to the rectangle around a polygonal boundary, not the polygon itself.
Source: Autodesk Help for XCLIP, XCLIPFRAME and About Clipping External References and Blocks.
The original 2008 tip: XCLIP grips arrive in AutoCAD 2009
AutoCAD 2009 added grips to the XCLIP boundary, so you can adjust it on screen and select the arrow to invert the clip. Back then I set XCLIPFRAME to 1 to see the grips. Today the default of 2 shows them without plotting the frame.
This is pretty useful and powerful! As Matt Murphy would say, “WICKED COOL“.
Cheers, Shaan.


