Skip to main content

create_classified_system_with_owner_history

Function create_classified_system_with_owner_history 

Source
pub fn create_classified_system_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    kind: SystemKind,
    global_id: &str,
    name: Option<&str>,
    draft: ClassifiedSystemDraft<'_>,
    owner_history: EntityId,
) -> SystemAuthoringResult<EntityId>
Expand description

create_classified_system in model’s declared release, with a caller-supplied IfcOwnerHistory (#202).

The release is bound from FILE_SCHEMA (none binds IFC4) instead of taken from a schema argument, and the record is laid out by attribute name from its table. IFC2X3 declares none of the four entities and IFC4 no IfcBuiltSystem. The owner history is never invented.

§Errors

Those of create_classified_system (an undeclared entity is EntityNotInSchema here), and the release and owner-history refusals of create_system_with_owner_history. Nothing is staged on an error.