This section contains examples and explains how to create an API for SOLIDWORKS add-in so its functions can be called from Macros, Stand-Alone Applications, Scripts or other Add-Ins

Enabling API functions in your add-in might be required when add-in itself needs to be automated. This approach can also help to improve performance. As add-ins are in-process applications, they provide the best performance. In this case add-in can act as an engine for the functionality which gets triggered from the macro or another add-in so the performance is optimal.

There are several approaches could be used to achieve this functionality. Explore the following options for more information: