XrefStates

XrefStates

Win32 and 64, English

Autodesk, Inc.
The XrefStates plugin can be used to simplify the use of multiple Externally Referenced drawings inside AutoCADĀ®. It captures the loaded/unloaded state of these Xrefs and saves them inside the drawing.

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:

Screenshots

Commands

Installation/Uninstallation

The installer that ran when you downloaded this plug-in from AutoCAD Exchange has already installed the plug-in. You may need to restart AutoCAD to activate the plug-in. To uninstall this plug-in, simply rerun the installer by downloading it again from Exchange, and select the 'Uninstall' button, or you can uninstall it from 'Control Panel\Programs\Programs and Features' (Windows 7) or Add/Remove Programs (Windows XP), just as you would uninstall any other application from your system. The panel on the Plug-ins tab will not be removed until AutoCAD is restarted.

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

None.

Contact

Company Name: Autodesk, Inc.
Company URL:
Support Contact: ADN.Apps@autodesk.com

Author/Company Information

For more information on developing with AutoCAD, please visit the AutoCAD Developer Center.

Support Information

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

Version History

Version Number Version Description

1.1.1

Added support to AutoCAD 2015 (No change in version number)

1.1.1

Added support to AutoCAD 2014 (No change in version number)

1.1.1

Updated to support AutoCAD 2013 Exchange Store autoloader bundle format

 

Added VS 2010 project required for AutoCAD 2013

1.1

Updated to support AutoCAD 2012 Exchange Store autoloader bundle format

Updated help to HTML file and to reflect new load mechanism

 

Removed automatic registration/de-registration code (handled by new load mechanism)

1.0

Original release