XREF_PATH is a routine from CAD Systems Manager David Hammer that will generate an xref report for the current drawing. This xref report contains the current drawing name, user name, date, and a list of each xref drawing (DWG) currently attached, including unloaded xrefs. This routine is a little different than most. It executes as soon as you load the code, so there is no command name to run at the Command line. Load the LISP file and open Windows Explorer to the current drawing directory. You will find a CSV file with the same name as the drawing plus a suffix of "ATTCHED_XREFs." You can open this file in Excel or Notepad to view the results. David did a good job of declaring all the variables in this routine as local, which prevents conflicts with other LISP routines. |