Export a drawing
onshape_export_drawingExport Onshape drawings as PDF, DWG, or DXF files to share, print, or use in other CAD tools.
Instructions
Export a drawing as PDF (or DWG/DXF) through the translation service.
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-drawing-<timestamp>.<format>). | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| format | No | Format name: PDF, DWG, DXF (default PDF). |