ifcopenshell.api.drawing.edit_text_literal
¶
Module Contents¶
- ifcopenshell.api.drawing.edit_text_literal.edit_text_literal(file, text_literal=None, attributes=None) 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, optional) – a dictionary of attribute names and values.
- Returns:
None
- Return type:
None
Example:
text = model.createIfcTextLiteral() ifcopenshell.api.run("drawing.edit_text_literal", model, text_literal=text, attributes={"Literal": "MY ANNOTATION"})