Welcome

How to utilize SOLIDWORKS API methods within the scripts

Edit ArticleEdit Article

This section provides examples and explains the ways of calling SOLIDWORKS APIs from different scripts, including vbScript, PowerShell, JavaScript

Main benefits of using scripts in SOLIDWORKS automation is an simplified deployment and maintenance process. Scripts are open source and do not required special IDE and can be easily integrated into the automation workflow.

Scripts usually accepts parameters which enables an interactive way of automation.

Scripts can utilize the special 'automation' version of SOLIDWORKS dedicated for the OLE automation. This means that SOLIDWORKS can be launched lightweight in the background which greatly improves the performance of the process.

Notifications

Join session by SOLIDWORKS and PDM API expert Artem Taturevych at 3DEXPERIENCE World 2026 on Wednesday, Feb 4 at 08:30 AM CST to explore 10 essential macros for automating drawings, assemblies, custom properties, and more


Product of Xarial Product of Xarial