92 verbs for SOLIDWORKS, from the command line
SolidWorks-CLI is a local command line between an AI agent and your SOLIDWORKS installation
through its late-bound COM API. It takes plain flags and answers JSON, so an agent or script can read feature
trees, address faces by persistent reference, sketch, model 3D features, mate assemblies, check interference
and export drawings without manual clicking. Writes are previews until --apply, and nothing
leaves your machine.
92 verbs over 9 families · Windows 10/11 x64 · .NET Framework 4.8 · Zero UAC
Common questions
Can an AI agent drive SOLIDWORKS from the command line?
Yes. SolidWorks-CLI exposes the SOLIDWORKS COM API as 92 command-line verbs that take plain flags and answer JSON, so an AI agent or script can inspect parts, author sketches and 3D features, assemble and mate components, generate drawings and export STEP or PDF. Every write verb is a dry run until --apply.
Does SolidWorks-CLI ship or redistribute SOLIDWORKS interop DLLs?
No. SolidWorks-CLI is a single Windows x64 .NET Framework 4.8 binary that drives the user's own licensed SOLIDWORKS installation through late-bound COM and the Running Object Table. Zero SOLIDWORKS binaries or interop DLLs are included.
Do my CAD files leave my computer?
No. SolidWorks-CLI runs locally on your engineering workstation against your local SOLIDWORKS session. Paid licenses never make any network call at any point in their life.
Verb families
- Open, create, save and sandbox SOLIDWORKS files from the command line13 verbs
- Inspect SOLIDWORKS feature trees, dimensions, mass, holes and configurations15 verbs
- Create, read, constrain and edit 2D SOLIDWORKS sketches by command10 verbs
- Build and edit 3D SOLIDWORKS part features, datums and materials17 verbs
- Automate SOLIDWORKS assemblies, mates, BOM and interference checks10 verbs
- Generate SOLIDWORKS drawings, section views, hole callouts and CAD exports7 verbs
- Validate, inspect and transactionally build SOLIDWORKS specs from JSON5 verbs
- Address SOLIDWORKS faces and edges by persistent reference and inspect COM APIs7 verbs
- Check SOLIDWORKS installations, ROT sessions, health, paths and batch runs8 verbs
Run these verbs on your own SOLIDWORKS models
Inspect a model in one call, edit a sandbox copy, and export STEP or PDF automatically. SolidWorks-CLI is local and on-premise: zero UAC elevation, zero SOLIDWORKS interop DLLs
redistributed, and every write is a dry run until you pass --apply. Fourteen-day free trial
with corporate e-mail, no card.
Is a CLI worth it over your own C# COM code?
Automating SOLIDWORKS directly in C# means wiring Running Object Table attach, interop assemblies,
persistent reference byte arrays, selection marks and rebuild rollback for every script.
Ten tasks compared three ways: clicking the GUI, raw C# COM API, and
one solid verb.
What this reference is
Each family page lists every verb's signature and a one-line summary. The complete contract and sealed
knowledge base ship with the product and are read locally with solid help <verb> and
solid kb. Visit the product page to start a 14-day free trial.