Expand description
Tables of values by path (#474): the facade’s ifc::sheet.
IfcModel::export_table writes the entities a selector selects as a
table, the key column (GlobalId, or id) first and one column per
value path, as CSV, TSV or XLSX bytes. IfcModel::import_table
reads one back: rows are matched by key, every other cell is written
by its header’s path as one checked transaction, a cell that reads what
the model holds changes nothing, and any refusal refuses the table with
nothing written. The answer is a TableImport: the planned changes
and every refusal by row and column, so a host shows them all, and
dry_run plans without writing.
A table, selector or format the call cannot start from (an unknown
format or key name, a selector or path that does not parse, an
unsupported release, XLSX in a build without sheet-xlsx) raises the
usual error; refusals of the table’s own rows and cells are data.
Structs§
- Table
Change - One value an import changes.
- Table
Import - What
IfcModel::import_tableplanned, and whether it wrote it. - Table
Refusal - One refused table, row or cell.