跳到主要内容

Utilizing SOLIDWORKS API methods in PowerShell scripts

Introduction to automation of SOLIDWORKS using API with PowerShell script

PowerShell is a command line scripting language built on .NET. PowerShell provides more flexibility compared to other scripting languages. Code snippets in C# and VB.NET can be included into the script.

Similar to other scripting languages PowerShell script can accept parameters.

PowerShell script can be invoked from the command line.

Examples in this section demonstrates how to invoke SOLIDWORKS API using PowerShell scripts based on VB.NET and C#.