The SOLIDWORKS Application Programming Interface (API) is a COM programming interface to the SOLIDWORKS software. The API contains hundreds of functions that you can call from Visual Basic (VB), Visual Basic for Applications (VBA), VB.NET, C++, C#, or SOLIDWORKS macro files. These functions provide the programmer with direct access to SOLIDWORKS functionality.

To access the API help, click Help > API Help Topics.

There are tips, code fragments, and examples of API functions on the SOLIDWORKS Web page: