draw_text
Add native editable text to KOMPAS-3D drawings or fragments. Specify position in millimeters and rotation angle to place text accurately.
Instructions
Add native editable text to a drawing/fragment view; position mm and angle degrees.
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": {
"drawing_handle": "<drawing_handle>",
"text": "<text>",
"x": "<x>",
"y": "<y>"
},
"name": "draw_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| angle | No | ||
| view_number | No | ||
| drawing_handle | Yes |