ifcopenshell.api.drawing.edit_text_literal

Module Contents

ifcopenshell.api.drawing.edit_text_literal.edit_text_literal(file: ifcopenshell.file, text_literal: ifcopenshell.entity_instance, attributes: dict[str, Any]) None

Edits the attributes of an IfcTextLiteral

For more information about the attributes and data types of an IfcTextLiteral, consult the IFC documentation.

Parameters:
  • reference (ifcopenshell.entity_instance) – The IfcTextLiteral entity you want to edit

  • attributes (dict) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

text = model.createIfcTextLiteral()
ifcopenshell.api.drawing.edit_text_literal(model,
    text_literal=text, attributes={"Literal": "MY ANNOTATION"})