CAD+ Toolset | Utilities for SOLIDWORKS automation
SOLIDWORKS utilities for improving your productivity in SOLIDWORKS. Automate properties, geometry, export and much more

Download Buy

Batch+ stand-alone application for running SOLIDWORKS macros in the batch mode


User Interface provides a visual way to configure the batch process.

Batch document (*.bpj) can be saved and loaded from the external files.

Batch+ document behaves similar to other file based applications (e.g. office, SOLIDWORKS, etc.). If it has unsaved changes it will be marked with * symbol. Additionally Batch+ has quick access menu in the document title header.

Once the batch process is run it creates job. It is possible to run multiple jobs in parallel in a single session.

Document header
Document header

  1. Document title with unsaved mark
  2. Save document quick access command
  3. Run job quick access command

Welcome Screen

Welcome screen
Welcome screen

Welcome screen is displayed on the start of the application or when there is no opened documents.

  1. New files creation area
  2. Open files
  3. Recent files list. If file cannot be opened (e.g. corrupted or does not exist - it will be automatically removed from the recent files list.) Limit of recent files list is 5 files.

Backstage

Backstage panel is available when File command is clicked in the ribbon toolbar.

Backstage panel
Backstage panel

  1. Return to main screen
  2. Create new document.
  3. Open existing document
  4. Save current document
  5. Save current document as new file
  6. Close active document
  7. Manage licenses window
  8. Register the software copy or buy license
  9. Check for updates or manage auto-check for updates
  10. Navigate to help web page
  11. Open About dialog

When creating new document or opening existing one while there is an active document, command will open new window.

Ribbon

Batch document can be configured by accessing he options in the ribbon

Input

User can set the processing scope (files, folders, macros and filters) in this group. Alternatively files, folders and macros can be added to the scope by drag-n-rop directly to corresponding panels.

Input ribbon group
Input ribbon group

  1. Add files to existing scope. Multiple files can be selected. This button will open the file browse dialog
  2. Add folders to existing scope. Multiple folders can be selected. This button will open the folder browse dialog
  3. Add From File. Allows loading list of files and folders from text file. Each line of the file represents the file or folder path
  4. Remove files and folders. Removes the selected files or folders from the scope
  5. Folder filters. List of filters to use for selecting files from the folder items selected into the scope. You can use a * wildcard, e.g. *.sld* will filter all SOLIDWORKS files (.sldprt, .slddrw and .sldasm) and exclude all other files types. Multiple filters are supported. Click to add new filter. Select and hit Del button to remove filter from the list.
  6. Process top level files or only or load files from sub-folders
  7. Activate and run macros for each configuration or sheet in multi-configuration files or multi-sheet drawings
  8. Add macros. Adds macros to the current macro scope
  9. Remove macros. Removes selected macros from the current macro scope.
  10. Extract References option allows to additionally include all referenced documents of the input file. Refer Extract References article for more information
  11. Order by Dependencies option allows to order the input references based on the dependency (from children to parents or vice-versa). Refer Order By Dependencies article for more information.

Settings

Document settings can be controlled in the settings group.

Settings ribbon group
Settings ribbon group

  1. Version of SOLIDWORKS to launch for opening files and running macros
  2. Safe startup options - runs SOLIDWORKS in safe mode bypassing options. If this option is selected none of the add-ins will be loaded to the session of SOLIDWORKS
  3. Background startup - runs SOLIDWORKS in background. This option only available for SOLIDWORKS Professional or higher
  4. Silent startup option - runs SOLIDWORKS and with disabled popup messages and splash screen. Suppresses all popup dialogs, such as missing references when opening file
  5. Hidden startup option - hides SOLIDWORKS window. This can improve performance however some of the API might not work properly in this mode
  6. Rapid file open option - open files in a rapid mode:
    • For drawings - opens in detailing mode. Some of the APIs might not be available in this mode
    • For assemblies - components are loaded lightweight
    • For parts - currently not supported and will be ignored
  7. Invisible mode. Allows to open all files invisibly. This significantly improves the performance however some of the API might not be accessible. Macro need to access arguments to connect to the target document as active model will not be available due to it was opened in invisible mode. Read Model pointer in invisible mode for more information
  8. Read Only file open option - open files in read-only mode ensuring it cannot be overwritten
  9. Forbid Files Upgrade - allows to forbid upgrade of the file if it is of a later version than the SOLIDWORKS. SOLIDWORKS is backward compatible, but not forward compatible which means that files cannot be opened in the older version of SOLIDWORKS. This option checks if current session of SOLIDWORKS is newer than the file and rejects saving operation if this is the case. It is recommended to keep this option selected unless it is explicitly required to upgrade files.
  10. Automatically Save Documents - this option will perform the save of the document after each macro run
  11. Processing timeout in seconds for processing a single file
  12. Allows batch process to continue if any of the files failed to process (for example file cannot be opened). If this option is not checked, batch process will be terminated once the error appears.
  13. Batch size - maximum number of files allowed to process within single session of SOLIDWORKS. Once this maximum is reached Batch+ automatically restarts SOLIDWORKS and continues to process files. This option allows to release resources and improve the performance of batch operations.

Job

Jobs can be controlled in the Job group

Job ribbon group
Job ribbon group

  1. Run new job. Multiple jobs can be run per document
  2. Cancel selected job
  3. Expand all report items (only applicable of Process Sheets/Configurations option selected)
  4. Collapse all report items (only applicable of Process Sheets/Configurations option selected)
  5. Export the Report Tab results into the Excel File
  6. Export Log Tab results into the Text file

Files And Folders

Files and folders panel
Files and folders panel

This panel defines list of files and folders to process. Drag-n-drop files and folders directly to the panel or use input group in ribbon to add items with browse dialogs.

Select items and hit Del button to remove them from the scope.

Use Open In File Explorer command from the context menu to navigate to the file or folder in the Windows file explorer

Macros

Macros panel
Macros panel

  1. Option to enable/disable macro from the current job
  2. Path to the macro
  3. Optional macro arguments

This panel defines list of macros to run on each file. Drag-n-drop macros directly to the panel or use input group in ribbon to add macros with browse dialogs.

Select items and hit Del button to remove macros from the scope.

Specify the arguments in the command line format if macro supports ones. Follow Macro+ article of the instructions of how to use macro arguments.

Use Open In File Explorer command from the context menu to navigate to the macro file in the Windows file explorer

Use Rename command from the context to assign the custom user name for the macro

Jobs

This list contains all jobs which were run or currently running in the active session. Active jobs can be cancelled by pressing the Cancel button.

Jobs panel
Jobs panel

  1. Job status (active, completed, failed, cancelled, completed with warnings) is displayed as an icon.
  2. Progress value
  3. Cancel active job

Select job to get more information in the panel below.

Job Information

Job information displays additional information about job once selected in the jobs panel

Summary

Summary tab
Summary tab

  1. Job start time in the local time zone
  2. Duration of the current job in the format hh:mm:ss
  3. Total number of files of the job (if folders are selected - number of files in the folders as per the filter)
  4. Number of successfully processed files
  5. Number of files which were processed with warning
  6. Number of files which failed to be processed
  7. Job level issues. For the issues of the individual files refer the Report tab
  8. Status of this job

Displays overview information about a job, such as start time, duration, total number of files, failed and successfully processed files. For the running job this information is dynamically updated.

Report

Report tab
Report tab

Contains detailed breakdown for each file and macro. Icon corresponds to the status of the particular item: successfully processed, failed, processed with warnings, or queued to process.

Files or macros which are failed to process will have a corresponding icon and the clickable ? link. Click this link to get more information about the error.

Each column of the grid can be sorted to quickly identify failed items if needed.

Log

Log tab
Log tab

Journal contains detailed log messages about the progress. Use this log to troubleshoot errors.


Product of Xarial Product of Xarial