Hide Table of Contents
Welcome

Glossary Item Box

The eDrawings application gives you the power to create, view, and share your 3D models and 2D drawings. 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.

  • translate files.

The API contains functions that you can call from Visual Basic for Applications (VBA), VB.NET, VBScript, C#, C++ 6.0, C++/CLI, and C. These functions provide direct access to the eDrawings environment. Currently only the IEModelViewControl and IEModelMarkupControl interfaces are supported. Any other interface is not supported and should not be used. Use VBScript to create HTML applications for eDrawings.

Sample Projects

The eDrawings API sample projects show how to create eDrawings API applications in Microsoft Visual Studio and other types of applications that support ActiveX controls. The eDrawings API SDK contains these eDrawings API sample projects.

To download the eDrawings API SDK:

  1. Log on to the SOLIDWORKS Customer Portal.
  2. Click Downloads and Updates.
  3. Select the version you want to download in Select Version.
  4. Click the SOLIDWORKS tab and click the version of SOLIDWORKS whose eDrawings API SDK you want to download.
  5. Click the English button and click Accept Agreement & Continue, which is located at the bottom of the page.
  6. Click the download, unzip, and install all the files link located at the bottom of the Download and Install page.
  7. Select a version in the Upgrading from Service Pack list, select the product in the SOLIDWORKS Product list, and click Continue.
  8. Locate and click SOLIDWORKS eDrawings API SDK in the Step 5 – Optional updates table to install the eDrawings API SDK.

By default, the eDrawings API SDK is installed in C:\Program Files\Common Files\eDrawingsnnnn\api, where nnnn is the 4-digit release year.

If you are a SOLIDWORKS customer, and you have installed eDrawings Professional, double-click install_dir\Program Files\SOLIDWORKS Corp\eDrawings API SDK\eDrawings API SDK.msi to install the sample projects to install_dir\Program Files\Common Files\eDrawings20nn, where nn is the 2-digit release year of the version of eDrawings installed on your computer.

NOTE:

All of the sample code and projects supplied are provided on an as-is basis and are only intended to demonstrate ways of using the eDrawings API. No representations or warranties are made regarding these samples. Any licensed user of eDrawings is free to use any or all of these samples in connection with building applications related to eDrawings and is granted a royalty-free, non-exclusive license for these samples or parts thereof. Intellectual property rights of the samples remain with eDrawings. Any confidentiality provisions of the eDrawings license apply to the samples.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Welcome
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2021 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.