Skip to main content

create_cost_item_with_owner_history

Function create_cost_item_with_owner_history 

Source
pub fn create_cost_item_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    draft: CostItemDraft<'_>,
    owner_history: EntityId,
) -> CostAuthoringResult<EntityId>
Expand description

create_cost_item with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.

ยงErrors

Those of create_cost_item except the IFC2X3 refusal, and an owner_history that does not resolve (MissingReference) or is not an IfcOwnerHistory (WrongReferenceType).