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