There are a number of things that can be accomplished in the SETTINGS tab:
You have several text boxes that can contain script commands. Each is listed with the possibilities:
PREBATCH COMMAND - This text box allows you to run a default set of commands BEFORE the rest of the batch script. This command is run BEFORE the first drawing is opened in the script. Typically, you can set your SDI variable, see Setup AutoCAD 2000 (and higher) - SDI system variable
(command "_new" ".") - will open a new drawing without using a template.
(command "_new" "Y" " ") - this can open a new drawing discarding the currently opened drawing.(The above two command sequences are handy if your AutoCAD loads a default template and runs commands on it each time you start AutoCAD. You will experience the "Save Changes?" prompt, and your batch script will not run because of this.)
PREUSERSCRIPT - This text box allows you to run a default set of commands AFTER the drawing is opened, but BEFORE the rest of the USER SCRIPT. This is handy if you always want to ensure that every drawing processed has certain System Variables set, or each drawing is ZOOM Extents. Please see AutoCAD System Variables Listing for a list of all AutoCAD system variables which you can set.
POSTUSERSCRIPT - This text box allows you to run a default set of commands AFTER the USER SCRIPT is executed and the drawing is saved.
POSTBATCH COMMAND - This text box allows you to run a default set of commands AFTER the BATCH SCRIPT. Here you would reset your SDI variable back to 0 (if that is your preference).
Previous | Back to Hurricane for AutoCAD - FAQ | Next |