create_document
Create a new Inventor part, sheet metal part, or assembly with material and part number assigned immediately, preventing Generic parts from affecting BOM and mass.
Instructions
Create a new document — a part with its material and part number right away, so no part is left "Generic" for the BOM and the mass.
Args: kind: "part", "sheet_metal" or "assembly". name: Display name (optional). template: "metric" (mm, default), "english" (inches), or a full path to a template file. material: Parts: from the library, e.g. "Steel, Mild". part_number, description: Parts: iProperties for the BOM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | part | |
| name | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| material | No | ||
| template | No | metric | |
| description | No | ||
| part_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |