Learn how to stay in touch with CodeStack latest updates about SOLIDWORKS API, C#, Visual Basic, DevOps and software development tutorials and tips & trick. Never miss the releases of new useful macros or applications to enhance your SOLIDWORKS experience.
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.