create_sketch_line
Create a line sketch on a standard plane by defining start and end points. Specify the plane (Front, Top, or Right) to add a line to your Onshape document.
Instructions
Create a line sketch on a standard plane
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Sketch name | Sketch |
| plane | No | Sketch plane | Front |
| endPoint | Yes | End point [x, y] in inches | |
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | Document ID | |
| startPoint | Yes | Start point [x, y] in inches | |
| workspaceId | Yes | Workspace ID |