Skip to main content

create_document_reference

Function create_document_reference 

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

Validate and stage one IfcDocumentReference; fails if location/identification/name are all unstated, if name and referenced_document are not exactly one, or if referenced_document is not an IfcDocumentInformation.