Get 5 FREE macros to save clicks while performing your day-to-day operations in SOLIDWORKS
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.