ifcopenshell.api.classification.edit_classification#

Module Contents#

class ifcopenshell.api.classification.edit_classification.Usecase(file, classification=None, attributes=None)#

Edits the attributes of an IfcClassification

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

Parameters
Returns

None

Return type

None

Example:

classification = model.by_type("IfcClassification")[0]
# Change the name of the classification system to "Foo"
ifcopenshell.api.run("classification.edit_classification", model,
    classification=classification, attributes={"Name": "Foo"})
execute(self)#