Skip to main content

add_physical_complex_quantity

Function add_physical_complex_quantity 

Source
pub fn add_physical_complex_quantity(
    tx: &mut Transaction,
    name: &str,
    description: Option<&str>,
    quantities: &[EntityId],
    discrimination: &str,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcPhysicalComplexQuantity.

Groups quantities that share a discrimination, so a wall’s gross and net areas can sit under one heading.

§Errors

Refuses a blank name or discrimination, and an empty HasQuantities, typed SET [1:?] by the schema.