Batch+ Integration for SOLIDWORKS PDM Professional
Batch+ integration for PDM is the Batch+ functionality made available within the SOLIDWORKS PDM Professional environment. It exposes the same set of features as the stand-alone version of Batch+, but runs as a PDM task and handles the caching, check-in and check-out of files automatically.
Configuring Batch+ Task
When Batch+ PDM task is created, specific settings can be configured on the corresponding pages
Batch+ Task Page
- Create a context menu command to run the task on demand. The task runs on all the selected files and/or folders.
Batch+ Startup Page
- Version of SOLIDWORKS application to run the task
- Runs SOLIDWORKS in a safe mode, bypassing settings and skipping loading of add-ins
- Runs SOLIDWORKS in the background. Only supported for SOLIDWORKS Professional and Premium editions
- Runs SOLIDWORKS silently, suppressing all popup messages
- Runs SOLIDWORKS application invisibly. Some of the API may not be available in this mode
- Opens files in the rapid mode (Large Design Review for assemblies and Detailing mode for drawings). Some of the API may not be available in this mode
- Opens files invisibly. This can improve the performance, but some of the APIs may not be available
- Opens files in read-only mode
- Forbids saving files if the current version of SOLIDWORKS is newer than the file version
- Saves all modifications automatically
- Allows user to edit the settings on this page on the task startup
Batch+ Input Page
- Check out input files automatically. Use this option if the macro needs to edit the file
- Check in input files after the operation completes
- Message to add to the check-in
- File filters to process
- Only process top-level files in the input folders
- Allow the user to update the file list before the task is run
- Process all sheets for drawings or configurations for parts and assemblies
- List of macros to run
- Button to add a macro to run. The macro needs to be added to the vault
- Allow user to edit settings above on the task launch
Batch+ Output Page
- Allow macro to overwrite the files
- Check-in all the files produced by the macro automatically
- Add the file reference (Paste-As-Reference) association between the source file and produced file
- Message to add to check-in
- Variables mapping between the source file and produced file
- Allow user to edit settings above on the task launch
Batch+ Resilience Page
- Timeout in seconds for running of the macro
- Allow the execution to continue if any errors are encountered
- Number of files to open in a single batch. SOLIDWORKS is safely restarted after the maximum batch count is reached, which improves overall performance
- Allow user to edit the settings above on the task launch
Batch+ Journal Page
- Enable the detailed reports (recommended). If this option is not selected, only a summary is saved with the task
- Path to a folder where detailed reports are saved
- Browse for the detailed report folder
- Store the detailed log in the report
Launching Task
When the task is launched (either on demand from the context menu or automatically via a workflow trigger) and the user has selected options to edit any of the settings, the following dialog is displayed.
This dialog is displayed on the machine that initiated the task. The user can edit the file list (if selected) or any other options. All changes are saved into the task instance and do not affect the task definition.
Once the dialog is closed, the task runs on the task server according to the configuration