pub fn create_external_reference_relationship(
tx: &mut Transaction,
model: &Model,
draft: ExternalReferenceRelationshipDraft<'_>,
) -> ClassificationResult<EntityId>Expand description
Validate and stage one IfcExternalReferenceRelationship in the layout
of model’s declared release.
§Errors
An empty or duplicated related set; a reference the release’s declared
type does not accept; an IFC2X3 model, which has no such entity
(EntityNotInSchema); and a header binding no single known release.
Nothing is staged on an error.