Skip to main content

create_text_style

Function create_text_style 

Source
pub fn create_text_style(
    tx: &mut Transaction,
    schema: &Schema,
    name: Option<&str>,
    text_character_appearance: Option<EntityId>,
    text_style: Option<EntityId>,
    text_font_style: EntityId,
    model_or_draughting: Option<bool>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcTextStyle.

text_font_style is IfcTextFontSelect and is required: it resolves to either a pre-defined text font or an externally defined one, both of which this module can stage.

ยงErrors

Refuses a blank name.