pub fn create_task_time_recurring(
tx: &mut Transaction,
model: &Model,
draft: TaskTimeDraft<'_>,
recurrence: EntityId,
) -> ScheduleAuthoringResult<EntityId>Expand description
Stage an IfcTaskTimeRecurring.
The recurring form is an IfcTaskTime plus a required
Recurrence at slot 20. The pattern is what makes the task repeat,
so it is a required argument rather than an optional draft field:
a recurring time with no pattern recurs never.
Binds model’s declared release (#235): IFC2X3 declares no
IfcTaskTimeRecurring and is refused with EntityNotInSchema; IFC4 and
IFC4X3 lay the record out alike.
§Errors
EntityNotInSchema for a release without IfcTaskTimeRecurring,
MultipleSchemas or UnsupportedSchema when the header binds no single
known release, those of create_task_time, and InvalidValue for a
recurrence that is not an IfcRecurrencePattern. Nothing is staged
on an error.