This online reference guide documents the SolidWorks Application Programming
Interface (API), which you can use to automate and customize the SolidWorks
The API contains hundreds of functions that you can call from Visual
Basic for Applications (VBA), VB.NET, Visual C#, Visual C++ 6.0 , and
Visual C++/CLI. These functions provide direct access to SolidWorks functionality
such as creating a line, inserting an existing part into a part document,
or verifying the parameters of a surface.
API Help is available on the Web or locally. To enable your desired
access to API Help, select Help >
Use SolidWorks Web Help. A check mark indicates that API Help is
enabled on the Web.
You can find all of the SolidWorks primary interop assemblies (PIAs)
in the install_directory> folder. You can find the PIAs that
you can redistribute with your application in the
Every supported interface available in the SolidWorks API, including
its associated properties and methods, is documented; undocumented SolidWorks
API interfaces and functions are not supported and should not be used.
Obsolete APIs are not supported. SolidWorks recommends that you use the
most current version of the API.
Use of the SolidWorks API assumes that you are familiar with VBA, VB.NET,
Visual C#, Visual C++ 6.0, or Visual C++/CLI.