ifcopenshell.api.group.remove_group

Module Contents

ifcopenshell.api.group.remove_group.remove_group(file: ifcopenshell.file, group: ifcopenshell.entity_instance) 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.group.add_group(model, name="Unit 1A")
ifcopenshell.api.group.remove_group(model, group=group)