Skip to main content

create_recurrence_pattern_in

Function create_recurrence_pattern_in 

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

create_recurrence_pattern bound to model’s declared release (#233).

IFC4 and IFC4X3 stage exactly what create_recurrence_pattern stages, once every time_periods reference resolves, in the model or staged on tx, to an IfcTimePeriod. IFC2X3 declares no IfcRecurrencePattern and is refused.

§Errors

EntityNotInSchema for a release without IfcRecurrencePattern, MultipleSchemas or UnsupportedSchema when the header binds no single known release, MissingReference or WrongReferenceType for a time period that is absent or not an IfcTimePeriod, and those of create_recurrence_pattern. Nothing is staged on an error.