ifcopenshell.api.material.edit_assigned_material#

Module Contents#

class ifcopenshell.api.material.edit_assigned_material.Usecase(file, element=None, attributes=None)#

Edits the attributes of an IfcMaterial

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

Parameters
Returns

None

Return type

None

Example:

concrete = ifcopenshell.api.run("material.add_material", model, name="CON01", category="concrete")
ifcopenshell.api.run("material.edit_assigned_material", model,
    element=concrete, attributes={"Description": "40MPA concrete with broom finish"})
execute(self)#