Skip to main content

add_property_table_value

Function add_property_table_value 

Source
pub fn add_property_table_value(
    tx: &mut Transaction,
    draft: TableValueDraft<'_>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcPropertyTableValue.

A lookup table: defining is the independent variable, defined the dependent one, and row i pairs defining[i] with defined[i].

§Errors

Refuses a blank name. Enforces the schema’s three table rules: WR21, the two columns must be the same length, since a row whose input has no output is not a row; WR22 and WR23, each column must be homogeneous, since a column mixing lengths and masses cannot be interpolated. Each value is an IfcValue, refused as add_property_single_value refuses one.