Application Programming Interface

The eDrawings Application Programming Interface (API) is an OLE programming interface to eDrawings and is implemented as a Microsoft ActiveX control. You can use the eDrawings API to customize the eDrawings Viewer, create interactive web pages, and translate files.

The API contains functions that you can call from Visual Basic for Applications (VBA), VB.NET, C++, and C#. These functions provide direct access to the eDrawings environment.

To download the eDrawings API SDK:

  1. Go to www.solidworks.com.
  2. Click Support > Downloads.
  3. If you are logged in, go to step 5. Otherwise, on the Downloads page, click Login for full access to the latest SOLIDWORKS release and updates.
  4. On the SOLIDWORKS Customer Portal page, select the Language, type your Email Address and Password, and click sign in.
  5. Click Downloads and Updates.
  6. On the Downloads page:
    1. In Select Version, select the version to download.
    2. On the SOLIDWORKS tab, click the SOLIDWORKS version whose eDrawings API SDK you want to download.
  7. On the SOLIDWORKS Download EULA page, click Accept Agreement & Continue.
  8. On the Download and Install page, click download, unzip, and install all the files.
  9. On the Manual Installs page:
    1. In Upgrading from Service Pack, select the version from which you are upgrading.
    2. In Language, select a language.
    3. In SOLIDWORKS Product, select the product.
    4. Click Continue.
  10. On the Manual Download Packages page, under Step 5 – Optional updates, click eDrawings API SDK.
  11. Click Save, then save the file.