Batch Configuration Dialog

<< Click to Display Table of Contents >>

Navigation:  PlantBatch > How to use > User Interface >

Batch Configuration Dialog

Previous pageReturn to chapter overviewNext page

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.

PB - MainDialog - 0026

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

PB - MainDialog - 0030

Type in a unique name for your Batch Configuration.

PB - MainDialog - 0027

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

PB - MainDialog - 0028

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

PB - MainDialog - 0029

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

PB - MainDialog - 0031

Optionally define additional command line arguments for the executable.

PB - MainDialog - 0032

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.

PB - MainDialog - 0033

Add a Batch Step

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

PB - MainDialog - 0034

The step is added to the list on the right.

PB - MainDialog - 0035

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.

PB - MainDialog - 0036

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.

PB - MainDialog - 0039

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

PB - MainDialog - 0040

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

PB - MainDialog - 0044

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

PB - MainDialog - 0041

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

PB - MainDialog - 0042

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.

PB - MainDialog - 0037

Change order of Batch Steps

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

PB - MainDialog - 0050

It will end at the new location now.

PB - MainDialog - 0051

Delete a Batch Step

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

PB - MainDialog - 0038

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.

PB - MainDialog - 0043

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.

PB - MainDialog - 0045

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.

PB - MainDialog - 0046

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 PB - MainDialog - 0049 icon.

PB - MainDialog - 0047

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.

PB - MainDialog - 0048

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