properties
Reads or sets the active Inventor document's metadata—part number, description, stock number, vendor, revision, material, mass, and custom values—so BOM and title-block data stay accurate.
Instructions
Read — and optionally set — the active document's iProperties: part number, description, stock number, vendor, revision, title, cost center, material, mass and custom properties. These feed the BOM and the drawing's title block.
Args: values: e.g. {"part_number": "BRS-101", "description": "Side panel 2 mm", "stock_number": "DKP-2.0"}. Unknown keys become custom properties. material: Material name as in Inventor's library (e.g. "Steel, Mild"; list_materials). mass_kg: Override the mass — for vendor models made of surfaces, which have no volume (a 1.23 kg motor showed 0.23 kg). material_report lists them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | ||
| mass_kg | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| material | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |