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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>",
"elementId": "<elementId>",
"instanceId": "<instanceId>",
"x": "<x>",
"y": "<y>",
"z": "<z>"
},
"name": "set_instance_position"
}
}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 |