pub fn create_material(
tx: &mut Transaction,
model: &Model,
draft: MaterialDraft<'_>,
) -> MaterialResult<EntityId>Expand description
Stage a material identity record in the model’s release layout.
§Errors
MaterialError::AuthoringNotInSchema for a description or
category in an IFC2X3 model, whose IfcMaterial declares Name only,
and the release-binding errors.