Skip to main content

create_surface_style_shading

Function create_surface_style_shading 

Source
pub fn create_surface_style_shading(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: SurfaceStyleShadingDraft,
) -> StyleResult<EntityId>
Expand description

Stage a new IfcSurfaceStyleShading in tx. Fails if surface_colour does not resolve to an IfcColourRgb, or transparency is not a finite value in [0, 1].