place_components
Place one or many parts or sub-assemblies into the active Inventor assembly from existing files, validating all paths first and optionally placing them atomically in a single undo step.
Instructions
Place parts / sub-assemblies into the active assembly — one or hundreds in one call. Files must exist on disk (save_document first); all are checked before anything is placed.
Args: components: [{"path": "C:/.../beam.ipt", "x": 0, "y": 0, "z": 0, "x_axis": [1,0,0], "y_axis": [0,1,0], "grounded": false, "name": "Beam_A1"}, ...]. mm. "origin": [x,y,z] works too. Axes and name are optional (where the part's own X/Y point; give both). Ground the first component of every assembly. atomic: One undo step: if any placement fails, none stay. skip_if_exists: Don't place one where the same file already sits at the same place — safe to run a list again after an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atomic | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| components | Yes | ||
| skip_if_exists | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |