SOLIDWORKS PDM API: Optimizing Large-Scale Operations with Batch Interfaces in SOLIDWORKS PDM

When making numerous calls to the same operation in SOLIDWORKS PDM, the batch interfaces (e.g., IEdmBatchAdd2, IEdmBatchChangeState5) are designed to maximize efficiency and performance.

Here’s a list all of the batch interfaces in PDM and their intended uses.

InterfaceDescription
IEdmBatchAdd2Allows adding multiple files or folders to the vault with improved support for additional options.
IEdmBatchChangeState5Enables batch transitioning of files to a different workflow state with the most advanced features.
IEdmBatchDelete3Provides functionality for deleting multiple files from the vault with enhanced validation.
IEdmBatchItemGeneration2Facilitates batch generation of items, ensuring efficient handling of linked item creation.
IEdmBatchListing4Retrieves detailed lists of files, folders, or items in the vault with extended filtering options.
IEdmBatchUnlock2Check-in operation for multiple files in a batch, including support for conditional operations and error handling.
IEdmBatchUpdate2Updates properties or variables for multiple files in the vault with better performance and reliability.

Author

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM. With over a decade of experience, he has authored several courses and open-source frameworks related to the SOLIDWORKS API. His leadership ensures that Blue Byte Systems prioritizes customer satisfaction and delivers high-quality software and CAD design solutions.