draw_rectangle
Draw a rectangle as a closed polyline in AutoCAD by specifying two opposite corner coordinates, with optional layer assignment.
Instructions
Rectangulo como polilinea cerrada entre dos esquinas opuestas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| layer | No | 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |