Skip to main content

associate_material_with_owner_history

Function associate_material_with_owner_history 

Source
pub fn associate_material_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    draft: MaterialAssignmentDraft<'_>,
    owner_history: EntityId,
) -> MaterialResult<EntityId>
Expand description

associate_material with a caller-supplied IfcOwnerHistory, which IFC2X3 requires. The owner history is never invented here (build one with ifc-author).

ยงErrors

Those of associate_material, and an owner_history that is not an IfcOwnerHistory.