Hallo,
die Knowledge Base ist manchmal nicht schlecht:
Open AutoCAD® without a new drawing
Published date: 2002-04-18
ID: TS71560
Applies to:
AutoCAD® 2002
AutoCAD® 2000i
AutoCAD® 2000
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2890335&linkID=2475323
und falls die mal wieder ihre Adressen ändern, kopiere ich es lieber doch hierher:
Issue
You do not want a new drawing to open when you start AutoCAD® software.
Solution
You cannot prevent a new drawing from opening when you start AutoCAD.
However, you can use one of the following methods to close the new drawing that is always present when AutoCAD opens.
Method #1: Use a script
In Notepad or a similar text editor, create a text file that has the word "close" and a single carriage return, as follows:
close
In the root of the AutoCAD install directory (the default location is C:\Program Files\AutoCAD 2002), save the file with a .scr file extension, for example, close.scr.
Edit the target field properties of the shortcut you use to start AutoCAD, so that it includes /b close. This will load the script file that closes the drawing.
Example: "C:\Program Files\AutoCAD 2002\acad.exe" /b close
Method #2: Use AutoLISP®
Create a text file using Notepad or similar text editor
Copy and paste the following text into the text file:
(defun s::startup ()
(if (= (Getvar "Dwgname") "Drawing1.dwg")
(progn
(command "cloapploadse")
)
)
Save or rename the text file so that it has a suitable name and .lsp file extension, for example, close.lsp.
Use the APPLOAD command in AutoCAD to ensure that the LSP file is loaded in the Startup Suite contents.
------------------
gruß
thomas
[Diese Nachricht wurde von Thomas Rausch am 30. April 2003 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP