Skip to main content

add_property_enumerated_value

Function add_property_enumerated_value 

Source
pub fn add_property_enumerated_value(
    tx: &mut Transaction,
    name: &str,
    specification: Option<&str>,
    values: Option<Vec<Value>>,
    enumeration: Option<EntityId>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcPropertyEnumeratedValue.

ยงErrors

Refuses a blank name, and an empty value list: the schema types EnumerationValues as LIST [1:?], so an empty aggregate is malformed where omission is legal. Each value is an IfcValue, refused as add_property_single_value refuses one.