draw_line
Draws a line between two coordinate points in an Autodesk Inventor sketch, using millimeter units, with an option to create a construction line.
Instructions
Draw a line in a sketch. Coordinates in mm.
Args: x1: Start X in mm. y1: Start Y in mm. x2: End X in mm. y2: End Y in mm. sketch_index: Sketch number (0 = latest sketch). construction: If True, line becomes a construction line (used as revolve axis, not part of profile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| construction | No | ||
| sketch_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |