ifcopenshell.api.group.edit_group

Module Contents

ifcopenshell.api.group.edit_group.edit_group(file: ifcopenshell.file, group: ifcopenshell.entity_instance, attributes: dict[str, Any]) None

Edits the attributes of an IfcGroup

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

Parameters:
  • group (ifcopenshell.entity_instance) – The IfcGroup entity you want to edit

  • attributes (dict) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

group = ifcopenshell.api.group.add_group(model, name="Unit 1A")
ifcopenshell.api.group.edit_group(model,
    group=group, attributes={"Description": "All furniture and joinery included in the unit"})