pub fn create_recurrence_pattern(
tx: &mut Transaction,
draft: &RecurrenceDraft<'_>,
) -> ScheduleAuthoringResult<EntityId>Expand description
Stage an IfcRecurrencePattern with all eight IFC4/IFC4X3 attributes.
Refuses component values outside the schema’s 1-based ranges, and a non-positive interval or occurrence count: “every 0 weeks” and “repeats -1 times” both parse and both describe nothing.
Takes no model, so it cannot see the model’s release or resolve the
time_periods references: it is for IFC4 and IFC4X3 only and writes
the references as given. create_recurrence_pattern_in checks both.
§Errors
InvalidValue for a blank type, an out-of-range component or a
non-positive count. Nothing is staged on an error.