CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 8058

CAD tip CAD tip # 13868:

   
Question CAD 
 %  platform  category 
Q - question

XrefStamp - create a dynamic list of xrefs in your DWG drawing.

A - answer With the freeware LISP utility (reactor) XrefStamp you can create a dynamic configurable list of all xrefs referenced from your main drawing. This list can be displayed in the Comments and in a label block. The list can include full paths, sizes and dates of the individual external drawings.

Download the XrefStamp VLX file from Download, load it into your AutoCAD with APPLOAD (you may want to load it automatically so drag it to the notepad icon) and type the XREFSTAMP command to launch it.

Specify the options - the list Format, name of the label block (if any) with a multiline attribute, whether to update Comments in DWG Properties and whether to start a reactor for future updates. Or just use [apply] to create the list. It will displayed in the command line, optionally updated in your drawing's Comments and labeled in your Label block(s). If the reactor is on, any future updates of the xrefs will be reflected in your label block and/or DWG Comments.

The display format of the individual xref lines can be specified by a format string where the individual xref properties are encoded as $X (xref name), $N (file name), $P (path), $S (byte size, or $KS kilobyte size), $T (timestamp) or individual components of the date and time. The default format string is:

"\r\n[$X] = $P | $KSkB @ $D.$M.$Y $H:$M"

The default label block name is "XREFSTAMPBLOCK" (create any block with a multiline attribute). The defaults are Comments ON, Reactor ON. Unloaded xrefs are not listed.

All settings are stored in Registry so they are saved between sessions. You can also modify them in the Registry (see HKCU\SOFTWARE\Arkance Systems\XrefStamp).

For a simple xref list, use RText - see Tip 2513.

ACADADTPlantACADMCivilMap
100% *  CAD 
24.9.2023    67085×  

See also:
Tip 13855:DBXscanLayers and DBXscanBlocks - bulk report content of DWG files in a folder.
Tip 13844:With which subscriptions do I get Autodesk Drive cloud storage as a bonus?
Tip 13435:Bulk setting of layer properties according to the object in that layer.
Tip 13227:Reference Explorer - quick analysis of your project or assembly (file size, xref errors).
Tip 11868:Open just a part of a DWG drawing - layers, views.


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   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


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