Set Dimension
set_dimensionEdits an existing named dimension in the active SolidWorks part and rebuilds the model, so you can update current geometry without creating a new document.
Instructions
Changes an existing named dimension in the active part and rebuilds it. Use this to edit the current model; it does not create a new document. Dimension names commonly include a name and feature suffix, such as D1@Sketch1.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dimension_name": "<dimension_name>",
"value_mm": "<value_mm>"
},
"name": "set_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value_mm | Yes | ||
| dimension_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||