Set Dimension
set_dimensionChange one length dimension of an active part or assembly in millimeters and rebuild to resize it, applying the update to the active or selected configurations.
Instructions
Change one length dimension of the active model, in mm, and rebuild.
Use it to resize an existing model; find the full name with
list_model_dimensions and check the result with rebuild_model or
verify_model. The value is always millimetres. It changes the active
configuration only, unless configurations is "all" or a list of names.
Needs: an open part or assembly. Changes: the dimension and the geometry it
drives. Returns: dimension_update with name, old_value, new_value
and configurations (the names it was set in).
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 change. `value` (mm) is required, with `name` (or `dimension_name`) such as "D1@Sketch1"; `units` is not used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||