|
<< Click to Display Table of Contents >> Batch Configuration Dialog |
![]() ![]()
|
UNDER DEVELOPMENT
The chapter describes the Batch Configuration dialog and how to setup a Batch Configuration.
Create new Batch Configuration
To create a new Batch Configuration, click the plus button in the Batch Configuration Name control on the Main Dialog.

The Batch Configuration Dialog opens. Start by entering a unique name for the configuration.

Type in a unique name for your Batch Configuration.

If the configuration name already exists, the name field is highlighted and the OK button is disabled.

For each Batch Step, define a description for the step.

Next select the executable file which should be executed in this step.

Optionally define additional command line arguments for the executable.

If the executable needs to run for each drawing file separately, then enable this option.
An example is, that you want to create an Equipment list with PlantReporter for each drawing separately.
When using acad.exe or accoreconsole.exe you may not need this option. Instead the script you want to have executed, can run for each drawing separately.

Add a Batch Step
To add a Batch Step, click the add button and enter a description for the new step.

The step is added to the list on the right.

Update a Batch Step
Select an existing Batch Step to update its settings. Changes are applied to the selected step when you switch to another step or close the dialog.

Add another Batch Step
Repeat the same process to add additional Batch Steps. The order in the list defines the execution order in the generated batch file.

Use the step list to switch between steps and review or modify their settings.

If you switch to another step while there are unsaved changes, PlantBatch will prompt you to save or discard the changes.

Each Batch Step description must be unique. If the description already exists, you need to enter a different description.

After a description is not unique, the Batch Step will not be created.

After entering a unique description, the Batch Step can be created successfully.
Edit a Batch Step
To edit a Batch Step, select it in the list and modify its settings.

Change order of Batch Steps
To change the order of the Batch Steps you simply Drag & Drop a line.

It will end at the new location now.

Delete a Batch Step
To delete a Batch Step, select it and use the delete function. The step is removed from the configuration.

Unsaved Data
If you close the dialog with Cancel or change the selection while there are unsaved changes, PlantBatch will prompt you to save or discard the changes.

Scripts
Scripts can be used to run additional actions before the main batch execution or after the batch has finished.
The scripts can not only be used for AutoCAD scripts, but for other executable as well. You can see this in the PlantReporter Example.

Remove Batch file
The batch file will be created in the %temp% folder with the date and time in the format %temp%\[BatchConfigName] - [YYYYMMDD] - [HHMMSS].bat.
You can have the batch file removed after it will have been executed.

Edit Batch Configuration
To edit an existing Batch Configuration, open it from the Main Dialog and modify its steps and settings in the Batch Configuration Dialog by clicking on the
icon.

You can now modify your batch steps. However, the name of the Batch Configuration cannot be edited. This has to be done thought the rename button in the Main Form.

After saving, the updated configuration is used when executing the batch from the Main Dialog.