home *** CD-ROM | disk | FTP | other *** search
- BATCH Menu: FILES
- ==============================================================================
- Executes a batch file created by an editor.
- (Applicable in both geometric and solid modules.)
-
- 1. (CHAR) batch file full name (1-12 char.)
- 2. (Y/N) set graphics off ? <n>
-
- Description:
- Use this command, while in session, to execute a batch file containing
- commands and parameters previously written using an external editor (such as:
- PE, EDLIN, EDIX).
- Enter the name of the batch file to execute. You have the option to set the
- graphics display off. This will allow the execution of the batch file without
- displaying the result of each operation, thus saving time.
- When writing the batch file, avoid using printer control characters. If you
- are uncertain whether your word processor produces a non-document ASCII file,
- use the DOS EDLIN editor.
- Any of the modeling commands and parameters may appear in each line of the
- file, as long as it ends with the two characters `|;', representing ENTER.
- If you create a batch file namedarcauser, it will be executed every time you
- enter the system from the directory in which thearcauserfile is located.
- The batch command can be used for the execution of long processes, such as
- solid creation, etc. The system will automatically carry out the entire
- process. If the batch file includes commands that create or open new files the
- system will assume that the user wishes to overwrite files of the same name if
- they already exist.
- During the operation of the batch file, the current command, its parameters
- and time of execution are displayed on screen. Should an error occur the batch
- will be halted and the command and parameters that were the cause of the error
- will remain displayed.
- The progress of the execution of the batch file is also recorded in a file
- called ARC.LOG which the system opens. Several batch files executed in the
- same session will be recorded consecutively within the same file. A batch file
- executed in a new session will overwrite the existing file. The file contains
- the following data: batch file name, number of line in the batch file, name of
- command executed and the time of the start of the command.
- NOTE:The batch file must be in the current directory.
- Example: Create an ASCII file named elev1, in the following format:
- \clear y|;
- \load house1|;
- \solid w h|;
- \elev f|;
- \save el1|;
- While in the system enter the following command:
- \batch elev1 n
- Result: The commands contained in the fileelev1are carried out
- sequentially, and the operations will not be shown
- graphically on the screen.