Snapping to
Xrefs
Master the art of snapping to objects inside external references and underlays: precision drafting across multiple drawings.
What Is an External Reference?
An External Reference (Xref) is a separate drawing file that is linked into your current drawing rather than being copied. Think of it like a live window into another file: when the source file updates, your drawing updates too.
Why Snap to Xref Objects?
Without object snapping, you are forced to guess where Xref geometry lands. Object Snaps (OSNAP) let you precisely lock onto endpoints, midpoints, and intersections inside an Xref, just as if those objects lived in your current drawing.
OSNAP Basics Refresher
Object Snaps are precision tools that let your cursor lock onto specific geometric points. They work identically on objects in the current drawing and in Xrefs, as long as the correct system variable is enabled.
The Key: XREFOVERRIDE
AutoCAD controls whether you can snap to Xref objects with the system variable XREFOVERRIDE. When set to 1, all Xref layers behave as if they are unlocked for snapping purposes, regardless of their actual lock status.
Command: XREFOVERRIDE
Enter new value <0>: 1
Configuring OSNAP for Xrefs
Snapping to Xref objects requires two conditions to be true simultaneously. If either one is off, your cursor will pass right through Xref geometry.
Xref vs Underlay Snapping
| DWG Xref | PDF / DGN Underlay | |
|---|---|---|
| Full OSNAP Support | ✓ All snap modes | Partial |
| Snap to Endpoints | ✓ | ✓ (if vector) |
| Snap to Centers | ✓ | ✕ Not reliable |
| Layer Control | ✓ Full | ✕ Limited |
| Control Variable | XREFOVERRIDE | UOSNAP |
| Editable In-Place | ✓ REFEDIT | ✕ No |
Step-by-Step: Snapping to Xrefs
Example 1: Snap to an Xref Endpoint
Example 2: Snap to an Intersection
Example 3: Snapping to a PDF Underlay
PDF underlays can be snapped to if the PDF contains vector geometry (not a scanned image). You must enable the underlay-specific snap variable.
Command: UOSNAP
Enter new value <0>: 1
; Also accessible from the status bar:
; Right-click OSNAP → Settings → check "Allow Underlay Osnap"
Overlay vs Attachment
When attaching a DWG Xref, you choose between Overlay and Attachment. This choice affects nesting behavior but does not affect your ability to snap.
| Overlay | Attachment | |
|---|---|---|
| Nesting | Not seen in nested Xrefs | Visible in nested Xrefs |
| Snap Support | ✓ Full | ✓ Full |
| Use Case | Coordination views | Assembly drawings |
| Circular Refs | ✓ Prevented | ✕ Possible |
OSNAP Override Shortcuts
Sometimes you want a one-time snap to a specific point type without changing your running OSNAP. Hold Shift + Right-click during a command, or type the override keyword directly.
Troubleshooting: Snap Not Working?
Common Mistakes
Quick Reference Summary
| Action | Command / Variable | Value |
|---|---|---|
| Toggle OSNAP | F3 | On / Off |
| Snap to locked Xref layers | XREFOVERRIDE | 1 |
| Snap to PDF/DGN underlay | UOSNAP | 1 |
| One-time snap override | Shift + Right-click | Select mode |
| Configure snap modes | DSETTINGS | Dialog |
| Attach Xref | XREF / ATTACH | Overlay or Attach |
Question 1 of 5
Which system variable allows you to snap to objects on locked Xref layers?
Question 2 of 5
You attach a scanned PDF as an underlay and enable UOSNAP = 1, but OSNAP markers do not appear. What is the most likely reason?
Question 3 of 5
What is the keyboard shortcut to toggle Object Snap on and off in AutoCAD?
Question 4 of 5
When you choose Overlay instead of Attachment for an Xref, what is the primary difference?
Question 5 of 5
You need to snap to the midpoint of a line in an Xref, but your running OSNAP is set to Endpoint only. What is the fastest method?