SolidWorks eDrawings 應用程式設計介面 (API) 是一個針對 SolidWorks eDrawings 的 OLE 程式介面,並作為 Microsoft ActiveX 控制項加以執行。 您可以使用 eDrawings API 來自訂 eDrawings Viewer,建立交互式的網頁,並轉譯檔案。
該 API 中包含了您可以從 Visual Basic for Applications (VBA)、VB.NET、C++、及 C# 中呼叫的函數。 這些函數提供對 eDrawings 環境的直接存取。
下載 eDrawings API SDK:
- 請至 www.solidworks.com。
- 按一下。
- 如果您已登入,請至步驟 5。否則請於下載的頁面按一下 Login for full access to the latest SolidWorks release and updates。
- 在 SolidWorks Customer Portal 的頁面,選擇語言,輸入您的電子郵件地址與密碼,然後按一下 sign in。
- 在下載的頁面中:
- 於選擇版本上選擇要下載的版本。
- 在 SolidWorks 標籤中,按一下您要下載的 eDrawings API SDK 的 SolidWorks 的版本。
- 在 SolidWorks Download EULA 的頁面,按一下 Accept Agreement & Continue。
- 在下載並安裝的頁面中按一下 download, unzip, and install all the files。
- 在 Manual Installs 的頁面中:
- 在 Upgrading from Service Pack 中選擇您要升級的版本。
- 在語言中選擇一個語言。
- 在 SolidWorks Product 中選擇一個產品。
- 按一下 Continue。
- 在 Manual Download Packages 頁面中於 Step 5 – Optional updates 之下,按一下 SolidWorks eDrawings API SDK。
- 按一下 Save,然後儲存檔案。