01 / 21

Clipping Xrefs

Learn how to clip external references and underlays to display only the portions you need, and control the visibility of clipping boundaries in your drawings.

AutoCAD

What Is an Xref?

An External Reference (Xref) is a link to another AutoCAD drawing file that is displayed inside your current drawing. Instead of copying all geometry, you reference it: any changes to the source file automatically update in your drawing.

DWG Xref
Another AutoCAD drawing attached as a reference
Underlay
A PDF, DGN, or DWF file displayed beneath your drawing

Why Clip an Xref?

Full Xrefs often contain far more geometry than you need. Clipping lets you display only a specific region, keeping your drawing clean and your viewport focused.

Full Xref XCLIP Clipped Xref Clip Boundary

Key Terminology

XCLIP
The command used to create, modify, or remove a clipping boundary on a DWG Xref or block
Clip Boundary
A rectangular or polygonal frame that defines which part of the Xref is visible
XCLIPFRAME
A system variable that controls whether clip boundaries are displayed and plotted

The XCLIP Command

XCLIP creates a clipping boundary around the portion of the Xref you want to keep visible. Everything outside the boundary is hidden from view.

Xref: FLOORPLAN.DWG Room A Room B Room C Room D Room E Clip Boundary

XCLIP Options

1
New Boundary: Create a fresh clipping boundary using Rectangular, Polygonal, or Select Polyline mode
2
ON / OFF: Toggle the existing clip boundary on or off without deleting it
3
Clipdepth: Set front and back clipping planes for 3D Xrefs
4
Delete: Remove the clipping boundary entirely, restoring full Xref visibility
5
Generate Polyline: Create a polyline from the existing clip boundary for further editing

Rectangular vs Polygonal Clipping

Rectangular Polygonal
Rectangular
Pick two opposite corners. Fastest option for simple areas.
Polygonal
Pick any number of points to form an irregular shape around complex areas.

Controlling Visibility: XCLIPFRAME

The XCLIPFRAME system variable determines whether the clip boundary line is visible on screen and whether it appears on printed output.

Value Displayed? Plotted?
0 Not displayed Not plotted
1 Displayed Plotted
2 Displayed Not plotted

How to Clip an Xref

1
Type XCLIP at the command line and press Enter
2
Select the Xref you want to clip and press Enter
3
Choose New Boundary from the options
4
Select Rectangular or Polygonal boundary type
5
Pick your boundary points on the drawing canvas
6
Press Enter to confirm: geometry outside the boundary is hidden

Example 1: Rectangular Clip

You have a site plan Xref but only need to show Building A. Use a rectangular boundary to isolate it.

Before XCLIP Bldg A Bldg B Parking Landscape After XCLIP Bldg A Clip Boundary

Example 2: Polygonal Clip

An L-shaped wing of a building needs to be shown. A rectangle cannot capture this shape, so use a polygonal boundary.

Full Xref L-Wing East Wing Annex P1 P2 P3 P4 P5 P6

Example 3: Clipping a PDF Underlay

A PDF underlay of an architectural plan is attached. You only need the first-floor detail. The process mirrors XCLIP but uses the PDFCLIP command.

PDF Underlay Second Floor First Floor Basement CLIP
1
Type PDFCLIP and press Enter
2
Select the PDF underlay and choose New Boundary → Rectangular
3
Pick corners around the first-floor area and confirm

Toggling the Clip On and Off

You do not need to delete a clip boundary to temporarily see the full Xref. Use the ON/OFF option of XCLIP to toggle visibility.

Clip ON Only clipped area visible XCLIP → OFF Clip OFF Full Xref restored

Modifying an Existing Clip

Need to adjust your clip boundary? You have two main approaches.

Redefine Boundary
Run XCLIP again, choose New Boundary. The old boundary is automatically replaced by the new one.
Grip-Edit Boundary
With XCLIPFRAME visible, select the Xref and drag the blue grips on the boundary to resize it.

Common Mistakes

✕ Forgetting XCLIPFRAME
Leaving XCLIPFRAME at 1 causes clip boundaries to print on final output. Set it to 2 for display-only visibility.
✕ Using TRIM Instead
TRIM permanently modifies geometry. XCLIP only hides it: the original Xref stays intact.
✕ Clipping at Wrong Scale
If the Xref scale factor is wrong, the clip boundary coordinates will not match the visible geometry.

Clipping Summary Table

Feature XCLIP PDFCLIP / DGNCLIP
Applies to DWG Xrefs and Blocks PDF, DGN, DWF Underlays
Boundary shapes Rectangular, Polygonal, Select Polyline Rectangular, Polygonal
ON/OFF toggle ✓ Yes ✓ Yes
Generate Polyline ✓ Yes ✕ No
Clip Depth (3D) ✓ Yes ✕ No
Frame visibility XCLIPFRAME PDFFRAME, DGNFRAME, etc.

Question 1 of 5

Which command is used to clip a DWG external reference in AutoCAD?

Question 2 of 5

What value should XCLIPFRAME be set to if you want to see the clipping boundary on screen but not have it appear on prints?

Question 3 of 5

You need to clip around an L-shaped area. Which boundary type should you choose?

Question 4 of 5

What happens to the geometry outside the clip boundary when you apply XCLIP?

Question 5 of 5

Which command would you use to clip a PDF underlay attached to your drawing?