Skip to main content

create_text_literal

Function create_text_literal 

Source
pub fn create_text_literal(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: TextLiteralDraft<'_>,
) -> StyleResult<EntityId>
Expand description

Stage a new IfcTextLiteral in tx. Fails if literal is empty or placement does not resolve to an IfcPlacement.