How to utilize SOLIDWORKS API methods within the scripts

Edit ArticleEdit Article
Comments

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

All articles and code at CodeStack are now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. We appreciate any contribution.


Product of Xarial Product of Xarial