Insert an instance
onshape_insert_instanceInsert a part, entire Part Studio, or another assembly into your current Onshape assembly. Pull from a specific version when inserting across documents.
Instructions
Insert a part, a whole Part Studio or another assembly into an assembly. Insert from a version when pulling from a different document.
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. | |
| part | No | Part id, to insert a single part. | |
| src_doc | No | Source document id (defaults to the target document). | |
| src_elem | Yes | Element id of the source Part Studio or assembly. | |
| is_assembly | No | The source element is an assembly. | |
| src_version | No | Source version id, required when inserting across documents. | |
| whole_studio | No | Insert every part of the source Part Studio. | |
| configuration | No | Encoded configuration for the inserted element. |