CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2995 

CAD tip CAD tip # 6598:

Question CAD 
 %  platform  category 
Q - question

How to detect all DWG files containing Xrefs?

A - answer If you want to know (without opening the individual files) which of your DWG drawings contain references to Xrefs, you can use the CADstudio DBXscanXref batch utility.

The free LISP utility DBXscanXref scans all DWG files in a given folder (and its subfolders) and generates a report with a list of all DWG files containing external references, the number of xrefs and optionally also their names (paths). The files are not opened individually.

Just appload these utilities and start the "DBXscanXref" command. Browse to the folder you want to process and click "Save".

You can download the application from, see the accompanying TXT file.

Sample of a report:
Xanadu DBXscanXref report (verbose mode)  
Timestamp: 20090325.1323  
Start processing root folder C:\My Projects\  
Start processing folder C:\My Projects\  
-- C:\My Projects\BasinAreas.dwg  
-- C:\My Projects\BIG_LOM.dwg  
2 xref(s)  
Site Plan Xanadu.dwg  
-- C:\My Projects\GPS Data.dwg  

---- processing finished ----

More about DBX utilities

100% *  CAD 
25.3.2009    8436x  
Comments   Tell a friend

See also:
Tip 9913:How to detect DWG files created in the drawing module in Autodesk Fusion 360?
Tip 7341:How to scan all DWG drawings for missing SHX files?
Tip 6146:How to detect DWG files containing VBA macros?
Tip 6092:How to detect DWG files containing AEC objects?
Tip 5871:How to batch-remove excessive annotation scale lists in DWGs?

Back   All CAD Tips All CAD tips&tricks

How to get World coordinates from the ID command? « | » Does my processor support SSE2 and EM64T, required by the 2010-family CAD application?

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 glossary   

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.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.