Skip to main content

create_text_style_font_model

Function create_text_style_font_model 

Source
pub fn create_text_style_font_model(
    tx: &mut Transaction,
    schema: &Schema,
    name: &str,
    font_family: &[&str],
    font_size: f64,
) -> StyleResult<EntityId>
Expand description

Stage an IfcTextStyleFontModel.

ยงErrors

Refuses a blank name, an empty font family, and a non-positive font size. MeasureOfFontSize also requires the size to be an IfcLengthMeasure, so it is written with that wrapper.