Export CAD format
onshape_exportExport Onshape parts or assemblies to STEP, IGES, 3MF, PARASOLID, or SOLIDWORKS via the translation service, returning a file path once the queued job completes.
Instructions
Export through Onshape's translation service: STEP, IGES, 3MF, PARASOLID, SOLIDWORKS and others. Slower than STL because the translation is queued server-side.
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>. | |
| out | No | Output file path (default onshape-<timestamp>.<format> in the output directory). | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| kind | No | Element kind being exported (default partstudios). | |
| format | No | Format name, e.g. STEP, IGES, 3MF, PARASOLID (default STEP). | |
| configuration | No | Encoded configuration string. |