Add Sketch Dimension
add_sketch_dimensionAdds a driving dimension to sketch entities—linear, angular, radial, or diameter—to fix sizes, fully define the sketch, and allow later edits.
Instructions
Add a driving dimension to sketch entities: linear, angular, radial or diameter.
Use it to fix a size so the sketch is fully defined and can be changed later
with set_dimension. Entities are the ids the add_* tools returned; two
connected lines for angular, a circle or arc for radial or diameter. No dialog
opens. Needs: an open sketch (create_sketch). Changes: adds the dimension and
resizes the geometry to value. Returns: dimension with id, type, value
and the entities.
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": "add_sketch_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The dimension. `entity1` and `value` (mm, or degrees for angular) are required; `entity2` and `dimension_type` (linear) have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||