set_instance_position
Sets an assembly instance to an absolute position (x,y,z in inches) and resets rotation. Use for precise placement; fails on grounded instances.
Instructions
Set an instance to an ABSOLUTE position in inches (unlike transform_instance which is relative). Resets rotation to identity. Note: fails on fixed/grounded instances (API returns 400).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Absolute X position in inches | |
| y | Yes | Absolute Y position in inches | |
| z | Yes | Absolute Z position in inches | |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| instanceId | Yes | Instance ID to position | |
| workspaceId | Yes | Workspace ID |