SOLIDWORKS Agent
Overview
Use this skill to convert SOLIDWORKS CAD requests into reproducible macro/API workflows, generated files, exports, and validation notes. Prefer documented SOLIDWORKS API and macro workflows over manual clicking.
Workflow
- Frame the CAD task: identify part/assembly/drawing target, dimensions, units, features, configurations, mates, materials, exports, and validation criteria.
- Discover access: check operating system, SOLIDWORKS installation, API help, macro recorder, COM access, and Document Manager availability.
- Retrieve docs first: use official/local SOLIDWORKS API help, object model docs, macro examples, and error messages before generating code.
- Generate reproducible automation: create VBA macros, API pseudocode, or COM automation guidance that can be rerun.
- Run or guide execution: execute only when SOLIDWORKS/API access is available; otherwise provide exact macro import/run steps.
- Diagnose and unblock: use
references/blocker-remediation.mdfor Windows-only access, missing APIs, macro security, file locks, add-ins, and license issues. - Search forums when needed: use
references/community-troubleshooting.mdafter official docs and local diagnostics are insufficient. - Report artifacts: list macros, generated parts/assemblies/drawings, exports, screenshots, logs, and assumptions.
Resources
references/software-notes.md: SOLIDWORKS-specific automation surfaces and artifacts.references/blocker-remediation.md: legitimate ways to resolve installation, platform, macro security, add-in, API, and license blockers.references/community-troubleshooting.md: trusted forum search process.
Never overwrite original CAD files without making a copy. Treat SOLIDWORKS automation as Windows/API dependent unless the user's environment proves otherwise.