Skip to main content

create_library

Function create_library 

Source
pub fn create_library(
    tx: &mut Transaction,
    model: &Model,
    draft: LibraryDraft<'_>,
) -> ClassificationResult<EntityId>
Expand description

Validate and stage one IfcLibraryInformation in the layout of model’s declared release.

§Errors

A publisher the release does not accept (IfcActorSelect, or only IfcOrganization in IFC2X3); for IFC2X3, a location or description (AuthoringNotInSchema) or a text version_date (AuthoringValueType); and a header binding no single known release. Nothing is staged on an error.