Skip to main content

create_lag_time_in

Function create_lag_time_in 

Source
pub fn create_lag_time_in(
    tx: &mut Transaction,
    model: &Model,
    name: Option<&str>,
    lag_value: Value,
    duration_type: &str,
) -> ScheduleAuthoringResult<EntityId>
Expand description

create_lag_time bound to model’s declared release (#211).

IFC4 and IFC4X3 are staged exactly as create_lag_time stages them. IFC2X3 declares no IfcLagTime and is refused with EntityNotInSchema; author its lag as TimeLag::Seconds on the sequence instead.

§Errors

EntityNotInSchema for a release without IfcLagTime, MultipleSchemas or UnsupportedSchema when the header binds no single known release, and those of create_lag_time. Nothing is staged on an error.