Skip to main content

create_zone_with_owner_history

Function create_zone_with_owner_history 

Source
pub fn create_zone_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    global_id: &str,
    name: Option<&str>,
    description: Option<&str>,
    long_name: Option<&str>,
    owner_history: EntityId,
) -> SystemAuthoringResult<EntityId>
Expand description

create_zone in model’s declared release, with a caller-supplied IfcOwnerHistory, which IFC2X3 requires (#202).

IFC2X3 IfcZone declares no LongName, so a long_name there is refused rather than dropped.

§Errors

Those of create_zone, the release and owner-history refusals of create_system_with_owner_history, and AuthoringNotInSchema for an IFC2X3 long_name. Nothing is staged on an error.