pub fn add_complex_property(
tx: &mut Transaction,
name: &str,
specification: Option<&str>,
usage_name: &str,
properties: &[(&str, EntityId)],
) -> PropertyResult<EntityId>Expand description
Stage an IfcComplexProperty.
Groups properties under one name, so a U-value can carry its own measurement conditions as nested properties.
ยงErrors
Refuses a blank name or usage name, an empty HasProperties (the
schema types it SET [1:?]), duplicate nested names, and a
property listed as its own child. The schema states WR21 as
SELF :=: temp, forbidding direct self-containment: a complex
property inside itself is a cycle that a recursive reader cannot
terminate on.