ifcopenshell.api.group.remove_group

Module Contents

ifcopenshell.api.group.remove_group.remove_group(file, group=None) None

Removes a group

All products assigned to the group will remain, but the relationship to the group will be removed.

Parameters:

group (ifcopenshell.entity_instance) – The IfcGroup entity you want to remove

Returns:

None

Return type:

None

Example:

group = ifcopenshell.api.run("group.add_group", model, Name="Unit 1A")
ifcopenshell.api.run("group.remove_group", model, group=group)