Add a mate connector
onshape_assembly_mate_connectorPlaces an implicit mate connector on an assembly instance by inference (CENTROID, TOP, etc.) and returns the feature id needed to join parts with the mate tool.
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. |