set_component_transform
Moves and rotates a SolidWorks component to specified XYZ coordinates and rotation angles, then verifies the applied transform so mate-blocked changes fail instead of being silently ignored.
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 |