Add a mate
onshape_assembly_mateJoin Onshape assembly components by selecting mate connectors and applying a mate type—FASTENED, REVOLUTE, SLIDER, PLANAR—to define relative motion.
Instructions
Join two or more mate connectors with a mate: FASTENED, REVOLUTE, SLIDER, PLANAR, and so on.
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. | |
| name | No | Feature name (default "Mate"). | |
| type | No | Mate type (default FASTENED). | |
| connectors | Yes | Feature ids of the mate connectors to join. |