Hurricane for Autodesk® AutoCAD®
The usual cause is the SDI system variable. With SDI 1 (single document interface), AutoCAD holds one drawing per session, so opening another drawing from Windows Explorer, or double-clicking one in Hurricane, starts a whole new AutoCAD session. With SDI 0, new drawings open as tabs in the session that is already running.
Fix: set SDI back to 0
Type this at the AutoCAD command line:
SDI 0Why Hurricane uses SDI 1, and how to have both
For batch processing it is best to run with SDI set to 1, one drawing at a time. You do not have to leave it that way: on Hurricane's Settings tab, set the PreBatch command to
SDI 1and the PostBatch command toSDI 0. SDI is then 1 only while a Hurricane script runs, and AutoCAD goes back to opening drawings in one session afterward.Going the other way, AutoCAD will not switch to SDI 1 while more than one drawing is open. If a batch stops with "Cannot set SDI to that value", close all drawings but one; see this FAQ.
AutoCAD R14 (legacy)
AutoCAD R14 can only load one drawing at a time, so double-clicking a drawing in Windows Explorer starts a second instance. You can avoid this by setting R14 up as a DDE application, so drawings opened from Explorer use the existing session (shortcuts on the desktop or Start menu still start new sessions):
- In the Windows Explorer menu bar, select View > Options.
- Select the File Types tab.
- From the list, select AutoCAD Drawing and click Edit.
- In the Actions list, select Open, then Edit.
- Select Use DDE.
- In the DDE Message field, enter:
[_FILEOPEN "%1" ](include the single space before and after the quotation marks).- In the Application field, enter:
AutoCAD.R14.DDE- In the Topic field, enter:
SYSTEM- Click OK, then Close twice to exit the Options dialog box.
Related