Jump to content
Seneb

Can I turn off drawing1.dwg?

Recommended Posts

Seneb

I've had requests to stop drawing1.dwg from automatically opening when starting ACAD. Is this possible?

:huh:

Share this post


Link to post
Share on other sites
uddfl

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.

Share this post


Link to post
Share on other sites
Seneb

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.

Share this post


Link to post
Share on other sites
lpseifert

Try Startup=1

Share this post


Link to post
Share on other sites
uddfl
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.

Share this post


Link to post
Share on other sites
Seneb

Awesome, thanks! Can I add this to our standard CUI file somehow so that it automatically happens on all computers?

Share this post


Link to post
Share on other sites
lpseifert

The Startup variable is saved in the registry, you only need to set it once per user.

Share this post


Link to post
Share on other sites
Seneb

That's what I figured. I'll just let people know and let them decide. Cheers.

Share this post


Link to post
Share on other sites
ACADADA

i think it starts automatically becuase of a user-defined macro. you should turn off or disable the macro to stop it

Share this post


Link to post
Share on other sites
dbroada
i think it starts automatically becuase of a user-defined macro. you should turn off or disable the macro to stop it
I think its how ootb AutoCAD works, nothing to do with udms

Share this post


Link to post
Share on other sites
stevsmith

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.

Share this post


Link to post
Share on other sites
cadmando2

What if you want a drawing to open? A dwg with your business logo?

Share this post


Link to post
Share on other sites
profcad

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.

Share this post


Link to post
Share on other sites
alanjt

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

Share this post


Link to post
Share on other sites
cadmando2

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!

Share this post


Link to post
Share on other sites
bonehead411

You need to create a template file (if you haven't already) and point ACAD to it in the options menu.

Temp.JPG

Share this post


Link to post
Share on other sites
MrErlo
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.

Share this post


Link to post
Share on other sites
lpseifert

Type Startup at the command line.

Share this post


Link to post
Share on other sites
MrErlo
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.

Share this post


Link to post
Share on other sites
gabek

I was just playing around with adjusting the "startup" and "sdi" variables with 0 or 1 combinations but not getting exactly what I wanted.... then out of frustration I set "startup" to 2 and it opened exactly how I wanted without any drawing.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...