insert_component
Place a SolidWorks part or sub-assembly at exact X/Y/Z millimeters, optionally pin it or leave it free for mates, then verify its placement.
Instructions
Insert a .sldprt, or a .sldasm as a sub-assembly, with its ORIGIN at (x, y, z) mm.
The part's own origin lands exactly on that point, and the placement is read back and verified. fixed=True pins the component; fixed=False leaves it free for mates. The default fixes only the FIRST component, giving the assembly a ground to build against. Returns the component's name, placement and box.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| x_mm | No | ||
| y_mm | No | ||
| z_mm | No | ||
| fixed | No |