pub fn add_property_enumeration(
tx: &mut Transaction,
name: &str,
values: Vec<Value>,
unit: Option<EntityId>,
) -> PropertyResult<EntityId>Expand description
Stage an IfcPropertyEnumeration.
ยงErrors
Refuses a blank name (UR1 makes it the unique key), an empty value
list, a value that is not a single measure, a duplicate value (the
list is UNIQUE), and a list mixing measure types (WR01). Each value
is an IfcValue: a bare literal is refused with
PropertyError::ValueForm.