ifcopenshell.api.group.remove_group#

Module Contents#

class ifcopenshell.api.group.remove_group.Usecase(file, group=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.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)
execute(self)#