ifcopenshell.api.drawing.edit_text_literal#

Module Contents#

class ifcopenshell.api.drawing.edit_text_literal.Usecase(file, text_literal=None, attributes=None)#

Edits the attributes of an IfcTextLiteral

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

Parameters
Returns

None

Return type

None

Example:

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