Check SOLIDWORKS installations, ROT sessions, health, paths and batch runs
Ring-0 diagnostics that answer before SOLIDWORKS is even open, plus session health checks, model path lookup and single-attach multi-step batch execution for fast, repeatable workflows.
8 of the 92 verbs · Windows x64 · Late-bound SOLIDWORKS COM API
solid version- Version of this build and of the CLI contract
solid env- SOLIDWORKS installations, COM registration and interop on this machine
solid help [VERB] [--usage] [--option NAME] [--full] [--all]- Task index
solid sessions- Live SOLIDWORKS sessions in the Running Object Table: moniker and pid
solid doctor [--all] [--pid N]- Is the environment sane: sessions, revision vs the tested 34.x, active document, every open document, plus unsavedCount and an unsaved list of at most 10 documents with pending changes
solid where NAME | --name NAME- Ring 0: the full path and policy (readOnly, writable, other) of a model by file name or stem, case-insensitive: searches the open documents (ROT file monikers, no attach), the policy.json folders
solid kb FILE | --file FILE [--full]- Ring 0: reads a sealed knowledge-base file (solid-kb1) under a valid commercial license
solid batch --script FILE | --inline "verb args; verb args" [--check] [--fail-fast] [--digest] [--pid N]- Runs the verbs of a JSON file one after another (batch/ holds the shipped ones), one result per item
Common questions
Which commands work with SOLIDWORKS closed?
All Ring-0 verbs — including solid version, solid env, solid sessions, solid help, solid where, solid kb, solid spec-check, solid api-sig and solid api-enum — run without starting or attaching to SOLIDWORKS.
How do I chain multiple CAD steps in a single SOLIDWORKS attach?
solid batch executes a JSON script or --inline command sequence in one session attach, passing --apply and @sandbox context across steps with fail-fast and dependency skipping.
Run these verbs on your own SOLIDWORKS models
Every verb above returns structured JSON and takes plain command-line flags. 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.
Other 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