set_dimension
Update a named dimension's value in the current SolidWorks model and automatically rebuild the design to reflect parametric changes.
Instructions
Set the value of a dimension in the current model.
This tool modifies the value of a named dimension and rebuilds the model. Use this to parametrically modify your model dimensions.
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": {
"input_data": "<input_data>"
},
"name": "set_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The input data value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||