Skip to main content

create_event_with_owner_history

Function create_event_with_owner_history 

Source
pub fn create_event_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    draft: EventDraft<'_>,
    owner_history: EntityId,
) -> ScheduleAuthoringResult<EntityId>
Expand description

create_event in the model’s declared release, with a caller-supplied IfcOwnerHistory.

IFC2X3 declares no IfcEvent and is refused with EntityNotInSchema.

§Errors

Those of create_event, and the release, entity and owner-history refusals of create_task_with_owner_history. Nothing is staged on an error.