US$0.00
0

PDMShell vs the SOLIDWORKS PDM API: When to Script and When to Code

Custom PDM API add-ins give full control at a cost. PDMShell scripts cover most admin jobs in minutes. Here is how to choose.
PDMShell vs the SOLIDWORKS PDM API: When to Script and When to Code
Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

Sooner or later every SOLIDWORKS PDM admin wants to automate something PDM cannot do out of the box. The traditional answer is a custom add-in written against the PDM API. PDMShell offers a second route: commands and scripts that call the same API for you. Here is how to choose.

The PDM API route

The SOLIDWORKS PDM API is a COM API, usually used from C# or VB.NET in Visual Studio. With it you can build add-ins, task add-ins and standalone tools that do almost anything the vault allows.

  • Strengths: complete control, custom user interfaces, deep integration with ERP, PLM and other systems.
  • Costs: a developer who knows the API, a build and deployment process, add-in registration in the vault, and maintenance as PDM, SOLIDWORKS and Windows versions change.

The PDMShell route

PDMShell wraps common vault operations in commands. A job that would be a small Visual Studio project is often a few lines:

# set Description on every part found, from a CSV edited in Excel
search -search %.sldprt -recursive -columns Description -csv parts.csv
setvarsfromsource -source parts.csv

# move every approved drawing to Released
transition -transitionidorname "Approve" -search "%.slddrw" -recursive
  • Strengths: no compiling, try each step interactively, save it as a .pdmshell script, then run it from a right-click menu, an event trigger or a PDM task through the PDMShell add-in.
  • Limits: you work within the commands PDMShell provides. A highly custom user interface or a complex integration still calls for code.

Side by side

Custom PDM API add-inPDMShell
Skills neededC# or VB.NET and the PDM APIPDM admin knowledge, simple command syntax
Time to first resultDays to weeksMinutes
Testing a stepBuild, register, debugRun the command in the shell
DeploymentAdd-in registration and version managementScript in the PDMShell add-in, task or command menu
Custom UIAnything you can buildMessage boxes, data cards, input cards
Best forIntegrations and unique productsBatch work, migrations, cleanups, recurring admin jobs

Our recommendation

Start with PDMShell for vault housekeeping, migrations and repeatable admin jobs. When a project needs a custom interface or a deep integration with another system, that is when a PDM API add-in earns its cost. Blue Byte Systems does both, so we will tell you honestly which one your project needs.

Want to learn the API itself? Read our practical guide to the SOLIDWORKS PDM API or browse our PDM API courses on Udemy.

Try PDMShell on your vault

Start a free 7-day trial, see plans and pricing, or book a short call and we will look at your Dispatch actions or API project together.

Need this adapted to your workflow?

We build custom SOLIDWORKS macros, add-ins and PDM automation.

Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.
0
0
Your Cart
Your cart is emptyReturn to Shop