ifcopenshell.api.system.edit_system

Module Contents

ifcopenshell.api.system.edit_system.edit_system(file: ifcopenshell.file, system: ifcopenshell.entity_instance, attributes: dict[str, Any]) 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) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

# A completely empty distribution system
system = ifcopenshell.api.system.add_system(model)

# Change the name of the system to "HW" for Hot Water
ifcopenshell.api.system.edit_system(model, system=system, attributes={"Name": "HW"})