| name | solidworks-2025-io-loop |
| description | Use when SOLIDWORKS 2025 is already open on Windows and Codex must operate the active part through COM with read-back proof: create/measure geometry, extract sketches, connect centers, create circular or rectangular flange holes, read macro shortcuts, or reuse the user's registered SolidWorks macros. |
SOLIDWORKS 2025 IO Loop
Use this skill for live SOLIDWORKS 2025 work. The active document is the source
of truth: perform the requested model change, then read SOLIDWORKS back to prove
the result.
Project Boundary
When working under D:\skills\codex\SW2025, this project is isolated. Use this
skill, its bundled scripts, and this project's docs/ knowledge base as the
authority. Do not silently import assumptions, scripts, shortcut mappings, macro
conclusions, or validation results from other projects. Use outside material
only when explicitly requested, and verify the result against live SOLIDWORKS
2025 or this local project before making it reusable here.
First Move
- Attach to the running app with
SldWorks.Application; do not launch
SOLIDWORKS unless the user asks.
- Prefer the unified runner:
python ".\skills\solidworks-2025-io-loop\scripts\solidworks_sw2025.py" <command> [options]
- For geometry edits, verify by counting bodies, faces, sketch segments,
created circles, or matching model edges after the feature is built.
- If a script reports partial creation, do not cut or continue silently; clean
the partial sketch and retry with the proven workflow.
Command Map
| Task | Command |
|---|
| IO write/read check | io |
| Active part metrics | |