draw_room
Draws a closed room outline as a polyline in AutoCAD, adding name and area labels based on specified dimensions and position.
Instructions
Dibuja el contorno de una habitacion/local como polilinea CERRADA, con rotulo de nombre y superficie. width/height van en las unidades del dibujo (son medidas reales del proyecto, no se reescalan).
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "draw_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | No | ||
| layer | No | ZD-MAMPOSTERIAS | |
| width | Yes | ||
| height | Yes | ||
| rotation | No | ||
| show_area | No | ||
| text_layer | No | ||
| create_layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||