Skip to main content

recurrence_pattern

Function recurrence_pattern 

Source
pub fn recurrence_pattern(
    model: &Model,
    id: EntityId,
) -> Result<Option<Recurrence>, ScheduleReadError>
Expand description

The IfcRecurrencePattern id, read by name in the model’s declared release (#233, #234).

For patterns referenced from somewhere other than a work calendar, such as IfcTaskTimeRecurring.Recurrence (also reachable through TaskTime::recurrence). Ok(None) when id is absent or not an IfcRecurrencePattern of that release; IFC2X3 declares none.

§Errors

ScheduleReadError::UnsupportedSchema or ScheduleReadError::MultipleSchemas for a header the readers cannot bind; a header with no schema reads as IFC4.