PDA

View Full Version : Can I turn off drawing1.dwg?



Seneb
6th Feb 2009, 08:00 pm
I've had requests to stop drawing1.dwg from automatically opening when starting ACAD. Is this possible?
:huh:

uddfl
6th Feb 2009, 08:04 pm
Do you want it to start and open a certain drawing, or just start and not have any drawings open? because I don't think the latter is possible.

Seneb
6th Feb 2009, 08:08 pm
I'd like it to open with nothing, but maybe the File > Open dialog. We just never use it and it's one more thing to close and deal with.

lpseifert
6th Feb 2009, 08:19 pm
Try Startup=1

uddfl
6th Feb 2009, 08:23 pm
I'd like it to open with nothing, but maybe the File > Open dialog. We just never use it and it's one more thing to close and deal with.Sounds normal, usually one has to open an existing drawing, rarely start from scratch. That's why I almost never launch the actual program; I usually open the file(s) I need from Windows Explorer.

Seneb
6th Feb 2009, 08:26 pm
Awesome, thanks! Can I add this to our standard CUI file somehow so that it automatically happens on all computers?

lpseifert
6th Feb 2009, 08:30 pm
The Startup variable is saved in the registry, you only need to set it once per user.

Seneb
6th Feb 2009, 08:31 pm
That's what I figured. I'll just let people know and let them decide. Cheers.

ACADADA
7th Feb 2009, 04:52 pm
i think it starts automatically becuase of a user-defined macro. you should turn off or disable the macro to stop it

dbroada
7th Feb 2009, 04:53 pm
i think it starts automatically becuase of a user-defined macro. you should turn off or disable the macro to stop itI think its how ootb AutoCAD works, nothing to do with udms

stevsmith
9th Feb 2009, 10:24 am
Why dont you set it up to open your own default dwt template?
We have a template to suit or needs that is customised withlayers, line types, dim settings. When AutoCAD opens it autoatically opens this file so we are raring to go.

cadmando2
25th Feb 2009, 08:29 am
What if you want a drawing to open? A dwg with your business logo?

profcad
25th Feb 2009, 06:13 pm
You can edit the short-cut properties to start AutoCAD with a script.

add /b close.scr to the end of the target file.

"C:\Program Files\AutoCAD 2009\acad.exe" /b close.scr

Create a script file named close.scr. I placed this file in my support folder.

C:\Program Files\AutoCAD 2009\Support


The contents of the file is the word close. Be sure to press enter after the word close.

AutoCAD will start and close drawing 1 each time.

The catch is that you have to click on that short-cut Icon.

alanjt
25th Feb 2009, 06:33 pm
i suppose you could put something like this in your startup:

(if (and
(= (getvar "dwgname") "Drawing1.dwg")
(= (getvar "sdi") 0)
);and
(command "_.close" "_y")
);if

cadmando2
26th Feb 2009, 05:11 am
Thanks for the help. but how do I get AutoCAD to open a file that I want at startup.
I remember reading it some where but I don't remember how to set it up!

bonehead411
26th Feb 2009, 01:58 pm
You need to create a template file (if you haven't already) and point ACAD to it in the options menu.

MrErlo
25th Mar 2009, 09:28 pm
The Startup variable is saved in the registry, you only need to set it once per user.

any chance someone can tell me where that variable is located? i don't want to just start banging around and change something i shouldn't.

thanks.

lpseifert
25th Mar 2009, 10:51 pm
Type Startup at the command line.

MrErlo
26th Mar 2009, 01:58 pm
Type Startup at the command line.

i tried a Startup value of 0 and 1, and my default action is still to open Drawing1. are there any other suggestions?

EDIT:
i found another response with more description about the STARTUP command
http://discussion.autodesk.com/forums/thread.jspa?threadID=608619

it seems that my shortcut is directing me to use a template rather than pulling up the dialog box.
"C:\Program Files\ACD-A2008\acad.exe" /ld "C:\Progr..." /p "..." /b "...scr"

i guess if that's what my IT team wants, then that's what i'll have to put up with. thanks for the help.