ifcopenshell.api.system.edit_system
¶
Module Contents¶
- ifcopenshell.api.system.edit_system.edit_system(file, system=None, attributes=None) None ¶
Edits the attributes of an IfcSystem
For more information about the attributes and data types of an IfcSystem, consult the IFC documentation.
- Parameters:
system (ifcopenshell.entity_instance) – The IfcSystem entity you want to edit
attributes (dict, optional) – a dictionary of attribute names and values.
- Returns:
None
- Return type:
None
Example:
# A completely empty distribution system system = ifcopenshell.api.run("system.add_system", model) # Change the name of the system to "HW" for Hot Water ifcopenshell.api.run("system.edit_system", model, system=system, attributes={"Name": "HW"})