If you’re developing custom add-ins or commands for SOLIDWORKS PDM, you may want to improve the user experience by organizing your commands into submenus. This approach is central to creating submenus in SOLIDWORKS PDM, ensuring a more professional and structured
When working with the SOLIDWORKS PDM API, it’s important to understand how the system handles state and caching. One frequently misunderstood property is IEdmFile5::IsLocked. Understanding why IEdmFile5::IsLocked requires a call to refresh() is crucial, as while it appears straightforward, it
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. Optimizing large scale operations with batch interfaces in SOLIDWORKS PDM becomes essential when handling high file
When developing automation tools or add-ins for SOLIDWORKS PDM, one of the most common mistakes I see is relying on file paths or names to identify objects. Stop using file names in PDM automation because, at first glance, it seems
When writing an add-in for SOLIDWORKS PDM, it is essential to consider compatibility across different versions of the software. Some API calls introduced in newer versions may not be available in older versions, potentially causing runtime errors for clients using
Your add-ins consist of DLL files. Each time an application like explorer.exe logs into PDM, it loads those files into the application’s sessions, increasing startup time and memory usage. While memory use is not a major issue these days, startup