Invoke function of SOLIDWORKS add-in from stand-alone application or macro

Edit ArticleEdit Article

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:


All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.

Product of Xarial Product of Xarial