insert_component
Places a part or sub-assembly into the active assembly at millimetre coordinates; the component file must contain solid geometry.
Instructions
Insert a part or sub-assembly into the active assembly.
Call create_assembly first. Position is in millimetres from the
assembly origin.
The component file must contain solid geometry — SolidWorks silently refuses to insert an empty part, so a missing or empty component surfaces as an error rather than a fabricated success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | File path and position. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||