Skip to main content

add_table

Function add_table 

Source
pub fn add_table(
    tx: &mut Transaction,
    name: Option<&str>,
    rows: &[(EntityId, usize, bool)],
    columns: &[EntityId],
) -> TabularResult<EntityId>
Expand description

Stage an IfcTable.

§Errors

Refuses a ragged table (WR1) and more than one heading row (WR2).

§Derived attributes

NumberOfCellsInRow, NumberOfHeadings and NumberOfDataRows are DERIVEd under new names rather than redeclaring an inherited attribute, so they occupy no instance slots and are not written at all. Contrast IfcSIUnit, whose DERIVE redeclares SELF\IfcNamedUnit.Dimensions and therefore does take a slot, written as *.