Skip to main content

add_door_lining_properties_with_owner_history

Function add_door_lining_properties_with_owner_history 

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

add_door_lining_properties in the model’s declared release, with a caller-supplied IfcOwnerHistory, which IFC2X3 requires (#202).

§Errors

Those of add_door_lining_properties, and: a model that binds no single known release; an owner_history that is not in the model or staged (MissingEntity) or is not an IfcOwnerHistory (AuthoringInvalid); in IFC2X3 a lining_to_panel_offset_x/y (AuthoringNotInSchema) and a zero thickness, which IFC2X3 types as IfcPositiveLengthMeasure. Nothing is staged on an error.