Skip to main content

create_draughting_predefined_colour

Function create_draughting_predefined_colour 

Source
pub fn create_draughting_predefined_colour(
    tx: &mut Transaction,
    schema: &Schema,
    name: &str,
) -> StyleResult<EntityId>
Expand description

Stage an IfcDraughtingPreDefinedColour.

ยงErrors

Refuses a name outside PREDEFINED_COLOUR_NAMES. The comparison is case-sensitive: the schema states the members in lower case, and a reader matching them literally would miss Black.