align_instance_to_face
Align an assembly instance flush against any face of a target instance (front, back, left, right, top, bottom) by moving only the perpendicular axis while leaving other axes unchanged.
Instructions
Position source instance flush against a face of target instance. Faces: front (min Y), back (max Y), left (min X), right (max X), bottom (min Z), top (max Z). Only moves the perpendicular axis; other axes stay unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | Yes | Face of target to align source against | |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID | |
| sourceInstanceId | Yes | Instance ID to move | |
| targetInstanceId | Yes | Instance ID to align against |