Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*ian
start autocad with no drawing open ??
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
461 Views, 2 Replies
11-13-2001 09:26 AM
can you start autocad with no drawing open ??
i would think that some type of script would work or could you change your
target on a shortcut?
thanks
i would think that some type of script would work or could you change your
target on a shortcut?
thanks
*Doane, David
Re: start autocad with no drawing open ??
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-13-2001 10:23 AM in reply to:
*ian
Well, yes you can end up with no drawing if you wish, but why one would want
to I don't know. However you may open AutoCAD with an untitled drawing
(drawing1.dwg), and close it with a script. Here's one way, and without
Today:
**Shortcut**
D:\Acad\R16\acad.exe /b D:\Acad\R16\LmsFiles\CloseAll.scr /nologo
**CloseAll.scr**
(setq todayVar (getvar "STARTUPTODAY"))
(if (= todayVar 1) (setvar "STARTUPTODAY" 0) "")
close
Perhaps the above will give you some ideas.
--
Dave D
"ian" wrote in message
news:4852280F12CC2DA66E15AAE49006CE89@in.WebX.maYI adrTaRb...
> can you start autocad with no drawing open ??
> i would think that some type of script would work or could you change your
> target on a shortcut?
> thanks
>
>
to I don't know. However you may open AutoCAD with an untitled drawing
(drawing1.dwg), and close it with a script. Here's one way, and without
Today:
**Shortcut**
D:\Acad\R16\acad.exe /b D:\Acad\R16\LmsFiles\CloseAll.scr /nologo
**CloseAll.scr**
(setq todayVar (getvar "STARTUPTODAY"))
(if (= todayVar 1) (setvar "STARTUPTODAY" 0) "")
close
Perhaps the above will give you some ideas.
--
Dave D
"ian"
news:4852280F12CC2DA66E15AAE49006CE89@in.WebX.maYI
> can you start autocad with no drawing open ??
> i would think that some type of script would work or could you change your
> target on a shortcut?
> thanks
>
>
*Saadallah, Dean
Re: start autocad with no drawing open ??
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-14-2001 06:07 AM in reply to:
*ian
From DOTSOFT.COM:
Starting AutoCAD 2000 with no starting drawing!
If you would like to start AutoCAD 2000, but don't want a blank empty
drawing, and you are not using the 'Startup Dialog' you can put this in your
ACAD.LSP and it'll create this effect.
(defun-q mystartup ()
(while (eq 1 (logand 1 (getvar "CMDACTIVE"))))
(command "_CLOSE")
)
(setq S:
TARTUP (append S:
TARTUP mystartup))
--
Dean Saadallah
www.pendean.com
--
"ian" wrote in message
news:4852280F12CC2DA66E15AAE49006CE89@in.WebX.maYI adrTaRb...
> can you start autocad with no drawing open ??
> i would think that some type of script would work or could you change your
> target on a shortcut?
> thanks
>
>
Starting AutoCAD 2000 with no starting drawing!
If you would like to start AutoCAD 2000, but don't want a blank empty
drawing, and you are not using the 'Startup Dialog' you can put this in your
ACAD.LSP and it'll create this effect.
(defun-q mystartup ()
(while (eq 1 (logand 1 (getvar "CMDACTIVE"))))
(command "_CLOSE")
)
(setq S:
--
Dean Saadallah
www.pendean.com
--
"ian"
news:4852280F12CC2DA66E15AAE49006CE89@in.WebX.maYI
> can you start autocad with no drawing open ??
> i would think that some type of script would work or could you change your
> target on a shortcut?
> thanks
>
>

