pub fn create_surface_style(
tx: &mut Transaction,
model: &Model,
schema: &Schema,
draft: SurfaceStyleDraft<'_>,
) -> StyleResult<EntityId>Expand description
Stage a new IfcSurfaceStyle in tx. Fails if elements is empty,
exceeds five members, contains two members from the same surface-style
element category, or any member does not resolve to its expected type.