add_mtext
Insert multiline text (MTEXT) in a CAD drawing with its top-left corner at a given insertion point; set color, layer, height, and wrap width.
Instructions
Add multiline text (MTEXT) with its top-left corner at the insertion point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Paragraph text; use \P for new lines | |
| color | No | ACI 0-256 or name (red, yellow, green, cyan, blue, magenta, white, bylayer) | |
| layer | No | Target layer (created if missing). Default: current layer. | |
| width | No | Wrap width; 0 = no wrapping | |
| height | No | ||
| insert | Yes | [x, y] or [x, y, z] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||