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.