Get sketch geometry
onshape_get_sketch_infoRetrieve sketch entities and solved geometry from an Onshape Part Studio, optionally limiting to a specific sketch feature by ID.
Instructions
Entities and solved geometry for every sketch in a Part Studio, or for one sketch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| sketch | No | Limit to this sketch feature id. |