How to utilize SOLIDWORKS API methods within the scripts
This section provides examples and explains the ways of calling SOLIDWORKS APIs from different scripts, including vbScript, PowerShell, JavaScript
{% youtube { id: 9akSYcyjQQc } %}
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.