material_report
Generates a material and mass report for an assembly, counting parts per material, totaling mass, and flagging parts with Generic material, zero volume, or missing mass.
Instructions
Material and mass of every part of the active assembly (or part; below path for a
sub-assembly): counts per material, total mass, and what needs a look — parts left on
Generic, vendor models made of surfaces (no volume, mass too low), parts with no mass.
Args: path: Sub-assembly path to limit it to (list_occurrences(depth=2)). only_problems: Just the summary and the problems, no per-part rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| only_problems | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |