Skip to main content

create_indexed_colour_map

Function create_indexed_colour_map 

Source
pub fn create_indexed_colour_map(
    tx: &mut Transaction,
    schema: &Schema,
    mapped_to: EntityId,
    colours: EntityId,
    colour_index: &[i64],
    opacity: Option<f64>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcIndexedColourMap.

ยงErrors

Refuses an empty colour index, a non-positive index (the members are IfcPositiveInteger, and STEP indices are one-based), and an opacity outside [0, 1].