Skip to main content

add_property_bounded_value

Function add_property_bounded_value 

Source
pub fn add_property_bounded_value(
    tx: &mut Transaction,
    name: &str,
    specification: Option<&str>,
    upper: Option<Value>,
    lower: Option<Value>,
    set_point: Option<Value>,
    unit: Option<EntityId>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcPropertyBoundedValue.

ยงErrors

Refuses a blank name, and bounds whose measures disagree. The schema states SameUnitUpperLower, SameUnitLowerSet and SameUnitUpperSet: mixing a length lower bound with a mass upper bound parses and then compares two different quantities. Each bound is an IfcValue, refused as add_property_single_value refuses one.