ifcopenshell.api.owner.remove_organisation

Module Contents

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

Remove an organisation

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

Parameters:

organisation (ifcopenshell.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)