ifcopenshell.api.owner.remove_organisation#

Module Contents#

class ifcopenshell.api.owner.remove_organisation.Usecase(file, organisation=None)#

Remove an organisation

All roles and addresses assigned to the organisation will also be removed.

Parameters

organisation (ifcopenshell.entity_instance.entity_instance) – The IfcOrganization to remove

Returns

None

Return type

None

Example:

organisation = ifcopenshell.api.run("owner.add_organisation", model,
    identification="AWB", name="Architects Without Ballpens")
ifcopenshell.api.run("owner.remove_organisation", model, organisation=organisation)
execute(self)#