SOLIDWORKS PDM API example for handling the data card button click

Edit ArticleEdit Article

Data cards functionality can be extended using SOLIDWORKS PDM API by providing the custom logic in the button click handler. Similar to other events button click can be handled within the IEdmAddIn5::OnCmd overload.

When setting up data card user required to assign the special tag in the options which can be then read from the add-in as a comment which allows to identify the specific button.

This section contains code examples for using SOLIDWORKS PDM API and implementing custom behavior on the data card button click.

Notifications

Join session by SOLIDWORKS and PDM API expret Artem Taturevych at 3DEXPERIENCE World 2025 on Feb 26 at 08:30 AM CST to explore 10 essential macros for automating drawings, assemblies, custom properties, and more


Product of Xarial Product of Xarial