CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.092.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 9299:

Question

CAD 
 %  platform  category 
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
100% *CAD
18.6.2013    49030×  
Share the tip:
Digg it! Del.icio.us Facebook Twitter Google bookmark Technorati StumbleUpon
applies to: AutoCAD ·

See also:
Tip 14310:Easy graphical display of the project or assembly file structure (hidden function).
Tip 10406:Setting the bubble notification timeout in AutoCAD.
Tip 8515:How to delete all Frozen or Off layers?
Tip 6119:Lost dynamic properties (grips) of dynamic blocks.
Tip 5959:How to suppress the statusline baloon notifications?


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist