dimension_aligned
Creates an aligned dimension entity between two WCS extension points and a dimension-line point, applying the active drawing's dimension style.
Instructions
Create an aligned dimension from WCS extension points and a WCS dimension-line point, using the active drawing's dimension style.
Side-effects: Adds aligned DIMENSION entity. Disambiguation: Dimension line stays parallel to extension points regardless of angle.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>",
"dim_x": "<dim_x>",
"dim_y": "<dim_y>"
},
"name": "dimension_aligned"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | First extension line origin X coordinate in WCS | |
| x2 | Yes | Second extension line origin X coordinate in WCS | |
| y1 | Yes | First extension line origin Y coordinate in WCS | |
| y2 | Yes | Second extension line origin Y coordinate in WCS | |
| dim_x | Yes | Dimension line definition point X coordinate in WCS | |
| dim_y | Yes | Dimension line definition point Y coordinate in WCS | |
| layer | No | Target layer name. Uses active layer if omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||