Calling Functions of a SOLIDWORKS Add-in from Standalone Applications or Macros
Examples and explanations on how to create an API for a SOLIDWORKS add-in so that its functions can be called from standalone applications or macros (enabling custom API for the add-in).
labels: [Add-in API, Calling]
This section contains examples and explanations on how to create an API for a SOLIDWORKS add-in so that its functions can be called from macros, standalone applications, scripts, or other add-ins.
There may be a need to enable API functions of the add-in when automation of the add-in itself is required. This approach can also help improve performance. Since add-ins are in-process applications, they provide the best performance. In this case, the add-in can act as an engine for functionality triggered from a macro or another add-in, resulting in optimal performance.
There are several ways to achieve this functionality. Please refer to the following options for more information: