proj_export_variant_matrix_csv
Export a component-by-variant CSV matrix showing Fitted, Not Fitted, or Alternate status for every component, so variant data merges cleanly with a BOM in spreadsheet tools.
Instructions
Write the variant fitted/not-fitted matrix to a CSV.
Builds the conventional component-by-variant table: one row per
flattened component, one column per variant, each cell
Fitted / Not Fitted / Alternate. Unlike
proj_list_variants (which lists only per-variant deviations), every
component appears, so the file merges cleanly with a BOM in a
spreadsheet.
Args:
output_path: Destination .csv. Defaults to
workspace/variant_matrix.csv.
project_path: Optional project path. If None, uses the focused
project.
Returns: {"output_path", "component_count", "variant_count"} or an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||