Skip to main content

create_text_style_text_model

Function create_text_style_text_model 

Source
pub fn create_text_style_text_model(
    tx: &mut Transaction,
    schema: &Schema,
    draft: TextModelDraft<'_>,
) -> StyleResult<EntityId>
Expand description

Stage an IfcTextStyleTextModel.

Every attribute is optional, so this writer enforces the value rules rather than presence: the three word-valued attributes are closed lower-case lists, and each size is a resolved select.

ยงErrors

Refuses a word outside its closed list, and a size value that violates the measure type the caller named.