Skip to main content

create_light_source_ambient

Function create_light_source_ambient 

Source
pub fn create_light_source_ambient(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: LightSourceDraft<'_>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcLightSourceAmbient: light with no position or direction.

ยงErrors

Refuses an out-of-range normalised ratio and a light_colour that does not resolve to an IfcColourRgb.