draw_line
Insert a native editable line into a drawing or fragment view by specifying start and end points in millimeters, enabling direct geometry creation within KOMPAS-3D.
Instructions
Draw a native editable line in a drawing/fragment view; coordinates in mm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| style | No | ||
| view_number | No | ||
| drawing_handle | Yes |