Skip to main content

Batch Processing

Overview

The Batch Process Manager allows you to create and administer batches of processes in order to largely automate the conversion/remediation of dumb drawings into fully intelligant engineering data sources.

There are seven main sections to the Batch Manager

  • Batch Option Files - The Batch file manager
  • Source of Drawings - The Drawing Source Manager
  • Template Library Location - The Template Library information panel
  • Drawings to process - The tree where you select the drawings you wish to process if you are running a batch (batches can be created and saved for future use without having to run them)
  • Batch Operations - The panel in which you define which batch operations you wish to run, and the order in which you wish to run them.
  • Options - This Panel contains tabs with the batch operation options of those batch operations that you have specified (not all batch operations have tabbed options)

To run a batch, either load a batch file or create a batch operation instruction list, select the drawings on which you wish to run the batch and click the Start Button button.

The All Layer Toggle checkbox limits the batch operations to only run on layers that are currently set to be visible in aurelia.

The Open Log Button button opens the folder location that the logs are defined to be written to

Batch Option Files

The Batch Option Files Panel allows you to load batch files

The Browse Button button accesses a folder browser where you specify the location of the batch xmls that you wish to create/work on.

Double-clicking a batch in the list opens it.

The Save Button button saves your batch to the currently selected batch

The Save As Button button allows you to specify the xml file to which you wish to save your batch to.

The Delete Button button deletes your currently selected batch.

Source of Drawings

The Source of Drawings panel allows you to specify the source from which you wish to populate the Drawings to process panel.

The "Database" tab is shown by default, with the "Database" tab selected, the drawings to process tree shows the drawings available to you in your current project.

Selecting the "HDX file" tab changes the view

Here you specify and input and outut location, either with the Browse Button button or by entering/pasting in the folder location. Note that the input/output location can be the same folder, which will enable the "I confirm that I want to override the input HDX files" checkbox, enabling you to replace the HDXs once they have had the batch operations run on them.

Drawing To Process

The Drawings to Process panel allows you to select the drawing(s) that you wish to run the batch operation against.

Use the checkboxes to check in/out the drawings you wish to run batch operations on

The Select All / Unselect All buttons select or unselect all the drawings in the tree.

The search function can be used to search the tree

info

If you have selected the "HDX File" tab in the Source of drawings panel, the the tree is simply a list of all of the drawings present in the fold that you have selected.

Batch Operations

The Batch Operations Panel is used to define the batch operations that you wish to run, and the order in which you wish to run them

To add an operation, select it and click on the Add Button button

To remove an operation, select it in the top panel and click on the Remove Button button

Batch Operations are run as an instruction order as if they were being run manually, so any changes an instruction makes are "last one wins" except for where the instruction does not overwrite existing data. As such, they can be moved up and down the instruction order with the Up/Down Arrows buttons.

There are a maximum of forty three operations available if the drawings are in the database, with thirty six operations being available for HDX file drawings.

NameDescriptionOptions
Add Template Library AttributesUpdates the Can Attach/Connect/Break Piperun, Never in Piperun and Maximum Connections attributes based upon the model the graphic is mapped to
Auto AttachmentsRuns the Auto Attachment Rules defined in Drawing Editor
Auto ConnectionsRuns the Auto Connection Rules defined in Drawing Editor
Auto Label MappingRuns the Auto Label Mapping Rules defined in Drawing Editor
Auto PiperunsRuns the Auto Piperun generation rules defined in Drawing Editor
Auto Property BreaksAutomatically inserts line breaks between the items to which a break label is attached
Auto RegionAutomatically generates regions around graphics for equipment creation
Auto Symbol IdentificationAutomatically identifies equipment from regioned graphics
Calculate Hazid RotationCalculated the Hazid Rotation attribute of the imported equipment
Check and add graphical identifiersGenerates graphical identifiers for all graphical items that do not have one
Check Graphics AttributesRuns the Routine to Check and Remediate the attibutes that define the graphical items
Create in SPPIDExports the drawing automatically into SPPIDTrue
Create Piperuns from AttributesCreates piperuns based upon the attributes that identify them, and breaks them where those attributes changeTrue
Export SPPID FULL Background SymbolExports the entire drawing as an SPPID background fileTrue
Export SPPID Background SymbolExports the drawing border and title block as an SPPID background fileTrue
Export to AutoCADAllows you to export the currently open drawing to a specific location as an AutoCAD .dwg fileTrue
Fix ConnectionsRepairs connections that have a connectedpipingpoints attribute that is incompatible with their number of true connections
Fix PiperunsRepairs piperuns that have an equipment order different to the connections within them
Generate Branching PointsRuns the routine that generates the connection and model detail where pipes/lines join or split
Identify CentrelinesRuns the centreline identification
Output to HDXAllows you to export the currently open drawing to a specific location as a Hazid .hdx file
Output to PDFAllows you to export the currently open drawing to a specific location as a .pdf file
Prepare for SPPID InjectionRuns the SPPID injection preparation routine
Process Xdata AttributesCreates Aurelia attributes from the contents of the drawing Xdata attributes
Recalculate Graphical IdentifiersRecalculates the centre, extents, width and height attributes for graphics
Remove orphaned attributesRemoves attributes that have no parent item
Remove Orphaned BranchesRemoves branches that have no connections
Remove Orphaned EquipmentRemoves equipment that has no parent drawing
Remove RegionsRemoves regions from graphics
Replace GraphicsReplaces Graphics in the drawing
Re-sequence TextBlock attributesRe-sequences textblock attributes to a logical numbering system (TextBlock1,2,3...)True
Set layer visibilityDefines which layers are set to visible by default based upon your selections in the Options PanelTrue
Snap Lines to GridSnaps the lines on the drawing to the grid based upon your selections in the Options PanelTrue
Split BlocksSplits the graphical blocks into sub blocks based upon your selections in the Options PanelTrue
Split Selected Pipe By Inline ItemsAllows certain inline items to split piperuns, these are defiend based upon your selections in the Options PanelTrue
Split TextBlocks from graphicsMoves text blocks out of graphics and into their own itemTrue
Sync piperun dataCreates and updates grouped piperun equipment
Synchronise equipment identifier attributeSynchronises the ID attribute with the equipment id and removes the now-redundant EquipmentID attribute
Update attributes from mapped modelsUpdates the Model Name and Model Path attributes from the model that the graphic/text is mapped too
Update piping/signal attributesUpdates the piping/signal identifers and numbers of connections
Update TextSynchronises all TextBlocks with their VTextProperty attribute (the text to be displayed) and adds it if it is missing
Update TextBlock Attributes (Rotation, Font, Size, Model)Updates the rotation, font and size attributes of all text equipment, also defines the Model Name and Path for text that does not have those attributes
Update TextBlock GraphicsTrims whitespace and resizes text block areas to fit the text within them

Batch Operation Options

When certain operations are selected, their batch options will be displayed in a tab in the Batch Operation Options panel

Each batch option requires additional information for performing the operation, these will be defined in the options section after the operation has been added to the list of operations for the batch.

Run Options

The Batch Operations Panel is used to define how certain batch operations function, as well as the standard run options for the batch process, which are as follows

There are three selecitions here:

The log folder location, defined either by pasting/typing into the box or loacted via the Expand Button button.

The detailed log generation checkbox, checking it generates more detailed logs.

The Maximum concurrent processes window (default 6) - this is the maximum number of processes that the batch processor will use, we recommend it be one less than the total number of threads available on the machine.

note

Setting "Max processes" to "1" sets single threaded operation.