set_component_transform
Move and rotate an assembly component by specifying X, Y, Z and rotation angles, then verify the transform was applied—catches moves ignored due to mates or constraints.
Instructions
Move/rotate a component: its origin to (x, y, z) mm, rotated rx/ry/rz degrees.
name is the component name ('Bed' or 'Bed-1'); rotations apply X, then Y, then Z about the assembly axes, and work on a fixed component too. The transform is read back and compared, so a move SolidWorks ignored (e.g. one already pinned by mates) fails loudly instead of silently leaving the part where it was.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| x_mm | Yes | ||
| y_mm | Yes | ||
| z_mm | Yes | ||
| rx_deg | No | ||
| ry_deg | No | ||
| rz_deg | No |