Skip to main content

add_door_lining_properties

Function add_door_lining_properties 

Source
pub fn add_door_lining_properties(
    tx: &mut Transaction,
    global_id: &str,
    draft: DoorLiningDraft<'_>,
) -> PropertyResult<EntityId>
Expand description

Stage an IfcDoorLiningProperties.

Takes no model, so it writes the IFC4 layout with OwnerHistory $: valid IFC4 and IFC4X3, never valid IFC2X3. Use add_door_lining_properties_with_owner_history to write the model’s declared release.

§Errors

Refuses a malformed GlobalId; a depth without its thickness (WR31, WR32); a transom or casing pair with exactly one half set (WR33, WR34); and any measure that violates its schema measure type.

WR35 requires the set to define an IfcDoorType. That is a property of the attachment, not of this record, so it is enforced where the set is attached rather than invented here.