Add a mate connector
onshape_assembly_mate_connectorPlace an implicit mate connector on an assembly instance using centroid, top, or mid-plane inference, enabling subsequent mate joins.
Instructions
Place an implicit mate connector on an instance by inference (CENTROID, TOP, ...). Its feature id is what onshape_assembly_mate then joins.
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 connector"). | |
| inference | No | Inference type, e.g. CENTROID, TOP, MID_PLANE (default CENTROID). | |
| occurrence | Yes | Occurrence id of the instance to attach to. |