set_dimension_precision
Set how many decimals drawing dimensions display, for one dimension by name or every dimension in a view, optionally including tolerance decimals. Only the display changes, not the model's values.
Instructions
Set how many decimals drawing dimensions show: one dimension by its name (list_drawing_views(view=...)), or every dimension in a view. tolerance_decimals sets the decimals of their tolerances too (default: left as they are). Only the display changes, not the model's values; dimensions added later keep the template's decimals, so call it last. Each dimension's precision is read back.
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": {
"decimals": "<decimals>"
},
"name": "set_dimension_precision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Every dimension in this view (or give dimension) | |
| decimals | Yes | Decimals shown, 0 to 8 | |
| dimension | No | A dimension name, e.g. RD1 (or give view) | |
| tolerance_decimals | No | Decimals of the tolerance, 0 to 8 (default: unchanged) |