set_dimension_style
Change the appearance of a drawing dimension by name: switch a round dimension between radius and diameter, or set its text colour as RGB values (0-255).
Instructions
Change how a drawing dimension looks: kind shows a round dimension as a radius or a diameter; text_color sets its text colour as {r, g, b} (0-255). The dimension is found by name among the views of the active sheet (list_drawing_views).
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": "<dimension>"
},
"name": "set_dimension_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | For a round dimension | |
| dimension | Yes | Dimension name, e.g. RD1 | |
| text_color | No | Colour of the dimension, 0-255 each |