Utilizing SOLIDWORKS API methods in PowerShell scripts

Edit ArticleEdit Article

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#.


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