Swpilotcli set dimension

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli set dimension is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. Set the value of a driving dimension in the active SolidWorks document by its full name. Requires two arguments, the dimension full name (e.g. `D1@Sketch1` or `D1@Boss-Extrude1`) and the new value in millimetres. Calls Parameter().SetSystemValue3 then rebuilds. Use as an atomic building block whenev

How to use this skill

Skill file

swpilotcli-set-dimension

Set a driving dimension by full name to a new value in millimetres.

Usage

dotnet run --project ./sup_tools/swpilotcli-set-dimension/scripts/SetDimension/SetDimension.csproj -- <dimName@owner> <value_mm>

Arguments

| Argument | Description |

|----------|-------------|

| <dimName@owner> | Full dimension name, e.g. D1@Sketch1, RadiusHole@Sketch2, D1@Boss-Extrude1. |

| <value_mm> | New value in millimetres (converted to metres internally). |

Notes

Examples

# Change hole radius dimension D1 in Sketch2 to 8 mm
dotnet run --project ./sup_tools/swpilotcli-set-dimension/scripts/SetDimension/SetDimension.csproj -- "D1@Sketch2" 8

# Change extrude depth D1 in Boss-Extrude1 to 25 mm
dotnet run --project ./sup_tools/swpilotcli-set-dimension/scripts/SetDimension/SetDimension.csproj -- "D1@Boss-Extrude1" 25
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.