AutoCAD 2002 Bible

Скачать в pdf «AutoCAD 2002 Bible»


characters (blank spaces and returns). You can either save the script file in text format or copy it into Notepad. Following are some tips to help you create successful script files with the least aggravation:


♦    Go through the steps once using the command line only before creating the script file.


Note


♦    If you will use any dialog boxes that ask for files, set the system variable FILE-DIA to zero (off) before experimenting with the commands you will use in the script file. This lets you practice the keystrokes without opening dialog boxes. Or you can practice using the version of the command with the hyphen in front of it (such as -layer); in most cases, you don’t need the hyphen in the script file itself.


AutoCAD automatically runs script files as if FILEDIA were off, even if it is set to 1 (on).


♦    Place comments in your script file to explain what you are doing. A comment is any line that starts with a semicolon.


♦    Keep Notepad open as you work. When you have completed a set of keystrokes that you want, open the AutoCAD Text Window (press F2), select the command string you want, right-click, choose Copy, switch back to Notepad, and paste. Then cut out all the prompts, leaving only the keyboard entry. You will probably have to readjust the spaces between the words.


♦    You can press End to check for blank spaces at the end of a line. Pressing Ctrl+End moves the cursor to the end of the document — useful for checking for extra spaces and lines at the end of a script.

Скачать в pdf «AutoCAD 2002 Bible»