Skip to main content

create_project_library_with_owner_history

Function create_project_library_with_owner_history 

Source
pub fn create_project_library_with_owner_history(
    tx: &mut Transaction,
    model: &Model,
    global_id: &str,
    draft: ProjectLibraryDraft<'_>,
    representation_contexts: &[EntityId],
    owner_history: EntityId,
) -> SpatialAuthoringResult<EntityId>
Expand description

create_project_library in the model’s declared release, with a caller-supplied IfcOwnerHistory. IFC2X3 declares no IfcProjectLibrary (EntityNotInSchema).

§Errors

Those of create_project_library, and the release and owner-history refusals of aggregate_with_owner_history. Nothing is staged on an error.