Learn how to develop modern SOLIDWORKS® add-ins from scratch at 3DExperience® World 2020
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.