ifcopenshell.api.classification.edit_reference#

Module Contents#

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

Edits the attributes of an IfcClassificationReference

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

Parameters
Returns

None

Return type

None

Example:

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