dimension_horizontal
Adds a horizontal dimension line between two [x,y] points in architectural drawings, with configurable offset, scale, and unit for precise placement.
Instructions
Horizontal dimension between two [x, y] points (mm). offset: distance of the dimension line from the points, > 0 above, < 0 below (default 600 at 1:50, i.e. 12 mm on paper). One 'Cote' block on layer 'cotations'.
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": {
"p1": "<p1>",
"p2": "<p2>"
},
"name": "dimension_horizontal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1 | Yes | ||
| p2 | Yes | ||
| unit | No | m | |
| scale | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||