Hide Table of Contents

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.

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


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

Subject:   Feedback on Help Topics
Page:   Welcome
*   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:


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

Web Help Content Version: API Help (English only) 2024 SP02

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.