CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 9299:
Question
A
If your External reference palette displays a status "Unreferenced" at an xref, it means that this DWG file is attached to the main drawing but it is not used (referenced) in the drawing - has no insertion point, scale, rotation. This is usually a result of an unintentional erase of the xref instance (reference), improper DWG format of the xref or of another error.
You can delete (detach) such orphaned xref - manually from the palette (right-click), or all - using PURGE or using this XDetach routine:
(defun c:XDetach (/ blk)
(while
(setq blk (tblnext "block" (not blk)))
(if (and (cdr (assoc 1 blk))
(< (cdr (assoc 70 blk)) 32))
(command "_-xref" "_d" (cdr (assoc 2 blk))))
)
)
ACAD
18.6.2013
52789×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?