Set Units
set_unitsSet the active document's length units to mm, cm, m, in, or ft before sketching on a new part to apply and verify the intended measurement system.
Instructions
Set the active document's length units: mm, cm, m, in or ft.
Use it on a new part before sketching if you want other than the template's
units. Aliases such as "inch" are accepted. The setting is read back, so success
means it applied. Tool inputs stay in mm whatever the document shows. Needs: an
open, active document. Changes: the document's unit system. Returns: data with
unit_system, the values applied and observed, and verified.
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_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The units. `unit_system` (mm, cm, m, in or ft) is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||