insert_component
Inserts a part or sub-assembly into the active SolidWorks assembly at specified millimetre coordinates. The component file must contain solid geometry; create an assembly first.
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 | |||