transform_instance
Apply relative translation and rotation to an assembly instance in inches and degrees. Ensure the instance is not fixed or grounded to avoid errors.
Instructions
Apply a RELATIVE transform to an assembly instance (inches and degrees). Note: fails on fixed/grounded instances — use get_assembly_positions to check the 'fixed' flag first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotateX | No | X rotation in degrees | |
| rotateY | No | Y rotation in degrees | |
| rotateZ | No | Z rotation in degrees | |
| elementId | Yes | Assembly element ID | |
| documentId | Yes | Document ID | |
| instanceId | Yes | Instance ID to transform | |
| translateX | No | X translation in inches | |
| translateY | No | Y translation in inches | |
| translateZ | No | Z translation in inches | |
| workspaceId | Yes | Workspace ID |