Its been a whiel since I looked at this kind of thing.
In LT can you have a Macro or Lisp routine (thinking a bespoke button) that saves or shuts down a drawing and upon such, changes the current layer to 0?
Cheers.....Q
Sure. Just combine -LAYER, QSAVE, and CLOSE in your macro, then put it on a button.
It will have to be a button or other UI element -- LT can't call command combinations like this with keystrokes.
Try this one with variations and deletions as you see fit:
^C^C._-purge;_all;*;_no;._-purge;_regapps;*;_no;._zoom;_extents;._-layer;_set;0;;._audit;yes;._-overkill;all;;done;
We wrote this a while back to get all the "extra" stuff out of the File when the work was done.
If you keep it make sure you play with the Overkill (current versions of LT only) so you know what gets deleted and what does not. That Comamnd can catch you off guard.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘