Create MText
entity_create_mtextCreates a multi-line text entity with word wrap at the specified width. Supports paragraph breaks, formatting, rotation, layer, and color for precise annotation placement.
Instructions
Create a multi-line text entity (MTEXT) with word-wrap at the specified width.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion point X | |
| y | Yes | Insertion point Y | |
| text | Yes | Text content (supports \P for paragraph breaks, {\H...;} for formatting) | |
| color | No | ACI color code | |
| layer | No | Layer name | |
| width | No | Text box width in drawing units | |
| height | No | Character height in drawing units | |
| rotation | No | Rotation in degrees, CCW from +X |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||