set_instance_position
Place an assembly instance at absolute coordinates in millimeters or explicit units, resetting rotation to identity. Use when repositioning components; fails on fixed or grounded instances.
Instructions
Set an instance to an ABSOLUTE position (bare numbers = mm; strings like "20 mm" / "0.5 in" for explicit units). Unlike transform_instance this sets absolute coords and resets rotation to identity. Note: fails on fixed/grounded instances (API returns 400).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Absolute X position. Bare = mm; unit-strings like "20 mm" / "0.5 in" respected. | |
| y | Yes | Absolute Y position. Bare = mm; unit-strings respected. | |
| z | Yes | Absolute Z position. Bare = mm; unit-strings respected. | |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| instanceId | Yes | Instance ID to position | |
| workspaceId | Yes | Workspace ID |