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).
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. 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 |