SDI & Filetabclose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been bugged for years by this, and never came up with a solution, if any.
When turning on SDI (1), Autocad automatically issues a FILETABCLOSE
When turning it back off, (0) it will restore them
From the command line (in ACAD 2014) that is.
When running a lisp, which turns SDI on, does some stuff and turns it back off, the FILETABCLOSE comes AFTER the lisp has finnished. The fact that its already off doesn't seem to matter, nor does it restore it immediately from setting SDI back to 0 (as it would from the command line)
I tried storing en restoring the FILETAB state, but to no avail, as it happens after the lisp is done.
Anybody got a clue how to prevent or restore this?
Testing it is as simple as:
(setvar 'sdi 1)
(setvar 'sdi 0)
(command "FILETAB")
After running that (as a lisp file, dropped into the drawing) the filetabs are (still) gone.
Push the arrow up key 1 time (last command), and there it says: FILETABCLOSE