pub fn associate_document(
tx: &mut Transaction,
model: &Model,
draft: AssociationDraft<'_>,
target: EntityId,
) -> ClassificationResult<EntityId>Expand description
Validate and stage an IfcRelAssociatesDocument linking draft.related_objects to target; fails if target is not an IfcDocumentSelect, or on any shared association precondition.