CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5957

CAD tip CAD tip # 7341:

Question CAD 
 %  platform  category 
Q - question

How to scan all DWG drawings for missing SHX files?

A - answer If you want to find (without opening the individual files) which of your DWG drawings contain references to SHX files (shapes, fonts), you can use the CADstudio DBXscanSHX batch utility.

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

Just appload this utility and start the "DBXscanSHX" command. Browse to the folder you want to process and click "Save". You can also specify a wildcard mask to scan only for a specific SHX file. Missing SHX files are highlighted.

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

Sample of a report:
Xanadu DBXscanSHX report (verbose mode)  
Timestamp: 20100502.1023  
Start processing root folder C:\My Projects\  
Start processing folder C:\My Projects\  
-- C:\My Projects\BasinAreas.dwg  
-- C:\My Projects\BIG_LOM.dwg  
   3 SHX(s)  
   LINETYPE GEO:scadline.shx (not-found!)
   TEXTSTYLE STANDARD:C:\AutoCAD LT\isocp.shx (not-found!)
-- C:\My Projects\AEC-Wall.dwg  
   2 SHX(s)  
   LTYPE ISOLATION:ltypeshp.shx
   SHAPEFILE:cadkon.shx (not-found!)

---- processing finished ----

See also the DBX utilities

100% *  CAD 
2.5.2010    26223×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12860:What are the proxy objects of the application NUCLEUSFORACAD?
Tip 11502:How to detect DWG files created as an export from Autodesk Revit?
Tip 9913:How to detect DWG files created in the drawing module in Autodesk Fusion 360?
Tip 9689:Starting Fabrication CADmep 2014 in another AutoCAD - desktop icon.
Tip 9500:File loading warning - security concern (executable file).

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 glossary   

Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info

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