PDA

View Full Version : Prevent blank drawing from opening during startup



Doodlemusmaximus
2006-08-22, 06:46 AM
I was wondering if there was a way to stop the opening of a blank drawing when you start up in the morning. It used to be that when you started CAD and then opened a drawing the original template one went, but now it stays in the background. I know that if I set it to singal drawing this would stop the problem but what I want to know is there a way besides that of getting the original start up drawing to close when you opened anouther one.

rkmcswain
2006-08-22, 12:24 PM
I was wondering if there was a way to stop the opening of a blank drawing when you start up in the morning.
Set STARTUP to 1




It used to be that when you started CAD and then opened a drawing the original template one went, but now it stays in the background. I know that if I set it to singal drawing this would stop the problem but what I want to know is there a way besides that of getting the original start up drawing to close when you opened anouther one.

"Drawing1.dwg" is not automatically closing because DBMOD <> 0. In other words the drawing is being modified during the startup process.

As soon as you open AutoCAD, type in DBMOD and check the value. If it's 0, then this drawing will close when you open another drawing. If it's not 0, it will stay open.

Both cases assume that SDI=0

If DBMOD<>0, then scan your startup files (acad.lsp, acaddoc.lsp, <menuname>.mnl, etc) for code that is running at startup that is modifying the drawing.

Doodlemusmaximus
2006-08-22, 12:29 PM
Set STARTUP to 1




"Drawing1.dwg" is not automatically closing because DBMOD <> 0. In other words the drawing is being modified during the startup process.

As soon as you open AutoCAD, type in DBMOD and check the value. If it's 0, then this drawing will close when you open another drawing. If it's not 0, it will stay open.

Both cases assume that SDI=0

If DBMOD<>0, then scan your startup files (acad.lsp, acaddoc.lsp, <menuname>.mnl, etc) for code that is running at startup that is modifying the drawing.
cheers for that found it in the lisp file drawing regenerated apon opening, now fixed.