pub fn create_classification(
tx: &mut Transaction,
draft: ClassificationDraft<'_>,
) -> ClassificationResult<EntityId>Expand description
Validate and stage one IfcClassification in the IFC4 layout; fails if
reference_tokens is Some and empty.
Takes no model, so it cannot see the model’s release: it writes the IFC4
ADD2 layout, which IFC4X3 ADD2 shares position for position (IFC4X3
names the sixth attribute Specification). For an IFC2X3 model, or to
have the header’s release checked, use create_classification_in.