BKG_Batch

Version 20181025 (freeware).
Works on BricsCAD V14.2 and higher for Windows®.
By downloading the .zip file you agree to the EULA for free software (freeware).

Download link: BKG_Batch.zip (< 65kB)

BKG_Batch is an application for the automated processing of CAD drawings. It is the ideal tool whenever you want to print, change or update large numbers of drawings. Any job that can be automated with a Lisp file or a script file is a job for BKG_Batch. You can even run multiple jobs in a single process. So it is possible to combine your own custom jobs, and the predefined jobs that come with the program, in a flexible and modular manner.

Key features

  • BKG_Batch can process .dwg, .dxf as well as .dwt files.
  • Multiple jobs can be combined in a single process.
  • Jobs can be Lisp files or script files.
  • Drawing selections and job selections can be saved for reuse.

Two important notes

BKG_Batch is a powerful tool

BKG_Batch is a powerful tool. When you use it you should know what you are doing and carefully test all jobs and processes. First apply a process to a small number of test drawings and/or test without saving. Only when you are satisfied that the results of the process are as expected should you apply the process to original drawings.

BKG_Batch runs inside BricsCAD

BKG_Batch can only be started from an open BricsCAD drawing. But this drawing, and any other drawings that have already been opened, will not be processed.

Available commands

BKG_Batch

Manipulates multiple drawings in a batch process.

  1. Start the command by doing one of the following:
    • Click the BKG_Batch button ( Button ) on the BKG_Batch toolbar.
    • Type BKG_Batch or BBT in the command bar and press enter.
  2. In the main dialog select the drawings and jobs you want to process.
  3. Click the Process button.
  4. Wait for the process to complete.

BKG_BatchAbout

Displays the BKG_Batch About dialog.

  1. Start the command by doing one of the following:
    • Click the About button in the main dialog.
    • Click the BKG_BatchAbout button ( Button ) on the BKG_Batch toolbar.
    • Type BKG_BatchAbout or BBTA in the command bar and press enter.
  2. Click the OK button to close the dialog.

Main dialog

Dialog

The main dialog is made up of two rows of three panels. The top row is for the selection of drawings and the bottom row for the selection of one or more jobs. The jobs can be Lisp files as well as script files.

Most elements in the dialog are easy to understand and all small buttons have a tool tip (just hover over them with the mouse pointer). Some elements are explained below.

Buttons: O (open)

Use these buttons to open a batch data file. There are two types of data files. Files used to store a list of drawings, with the .BatchDwgData extension. And files used to store a list of jobs, with the .BatchJobData extension.

Buttons: S (save)

Use these buttons to save a list of drawings or a list of jobs in a batch data file.

Option: Save drawings

This option saves drawings in the DWG or DXF version in which they were last saved. The current setting of the SAVEFORMAT variable is ignored. If you want to save in a different file version you have to disable this option and, for example, use one of the Lisp jobs that comes with the program. Note that the program does not support saving binary DXF files, they are saved as ASCII DXF files.

Button: Reload

Use this button to reload the folders and files in all panels.

Button: Start

This button starts the process. A batch process can only be started if there is a selection of one or more drawings and at least one job. The 'Save drawings' option, if selected, also counts as a job.

Requirements for jobs

Start automatically

All jobs must somehow get started. With script files this is easy: they always start automatically when loaded. With Lisp files this does not have to be the case. BKG_Batch does not analyze Lisp files to look for commands and other functions that can be run. Lisp jobs must either 'auto-start' or be started by a different job that is loaded later.

End properly

All jobs must completely finish for the batch process to continue correctly. But jobs should never close drawings. BKG_batch already takes care of that.

No user input

Because BKG_batch starts an automated process the jobs should not require any user input. Nor should any other application display pop-up messages that require input.

Installing the program

With the menu file

Unpack all files from the .zip file in a single folder, which does not have to be in the search path, and follow the instructions you can find here.

Without the menu file

Unpack BKG_batch.des and BKG_Batch_Utils.des from the .zip file in a folder in the search path and follow the instructions you can find here.

What is new

Version 20181025:
  • Improved: If a drawing cannot be opened in the normal manner, the program now automatically tries using the _Recover command.
  • Removed: The 'Open drawings read only' option has been removed.
  • Changed: The 'Process' button has been relabeled to 'Start'.
Version 20180219:
  • Fixed: A problem with the assoc function (introduced in V17) required a workaround.
Version 20170319:
  • Fixed: A problem with the vl-filename-extension function required a workaround.
Version 20170117:
  • First freeware release.