Win32 and 64, English

Autodesk, Inc.
The XrefStates plugin can be used to simplify the use of multiple Externally Referenced drawings inside Autodesk® AutoCAD®.

General Usage Instructions

This plug-in allows you to store "Xref States" - similar in nature to Layer States - which contain information on the various Xrefs in the drawing: whether each is loaded or unloaded. The Xref States get stored within the drawing and so can be used in future editing sessions. For either the XRS or -XRS command to do something useful, the current drawing must contain one or more external references, otherwise a message ("No external references found.") will be printed to the command-line.

The XRS command launches the main application dialog which manages the creation, deletion and restoration of Xref States in the current drawing. The "New" button can be used to save the state of the Xrefs in the current drawing, providing a name and a description to help with later identification. The "Delete" button deletes a previously saved Xref State. The "Restore" button will take the selected Xref State and apply its settings to the various Xrefs in the current drawing. The "Close" button will close the main dialog. The -XRS starts a command-line version of the XRS command: Enter an option [?/Save/Delete/Restore] : Selecting "?" will list the existing Xref States matching a pattern: Enter Xref State name(s) to list <*>: Selecting "Save" will prompt for the information required to create a new Xref State and will then do so: New Xref State name: Enter a new description: Selecting "Delete" will delete a named Xref State: Name of Xref State to delete: Selecting "Restore" will restore a named Xref State: Name of Xref State to restore:




The installer that ran when you downloaded this app/plug-in from Autodesk App Store will start installing the app/plug-in. OR, simply double-click the downloaded installer to install the app/plugin.

You may need to restart the Autodesk product to activate the app/plug-in.

To uninstall this plug-in, exit the Autodesk product if you are currently running it, simply rerun the installer, and select the "Uninstall" button. OR, click Control Panel > Programs > Programs and Features (Windows 7/8.1/10) and uninstall as you would any other application from your system.

Additional Information

This plug-in was written by Glenn Ryan and edited by Kean Walmsley for posting on his blog. It became a Plugin of the Month on Autodesk® Labs. ADN Plugins of the Month are provided with full source code that has been installed with this plug-in. While the code is not needed to make use of the plug-in, it will be useful should you want to understand how the plug-in works or to extend its functionality to meet your specific needs. Many thanks to Glenn Ryan for generously providing this very useful plug-in.

Known Issues



Company Name: Autodesk, Inc.
Support Contact: fpd.apps@autodesk.com

Author/Company Information

Autodesk, Inc.

Support Information

Email us at adn.apps@autodesk.com with feedback or requests for enhancements.

Version History

Version Number Version Description


Added support to AutoCAD 2022 (No change in version number).
Go top