Skip to main content

create_task

Function create_task 

Source
pub fn create_task(
    tx: &mut Transaction,
    draft: TaskDraft<'_>,
) -> ScheduleAuthoringResult<EntityId>
Expand description

Stage an IfcTask.

Slots are filled by the reader’s own constants, so the seven inherited positions are reserved even when unset rather than counted by hand.

OwnerHistory is written $, which IFC4 and IFC4X3 allow, in their shared layout. This writer takes no model, so it cannot see the declared release: it is for IFC4 and IFC4X3 only. IFC2X3 requires OwnerHistory and lays the record out differently; use create_task_with_owner_history there, which binds the release (#202).