Skip to main content

create_document

Function create_document 

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

Validate and stage one IfcDocumentInformation; fails on an invalid Confidentiality/Status enumerator, a document_owner/editors entry that is not an IfcActorSelect, or a duplicate/empty editors set.