ifcopenshell.api.group.edit_group

Module Contents

ifcopenshell.api.group.edit_group.edit_group(file, group=None, attributes=None) 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, optional) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

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