ifcopenshell.api.owner.remove_address
#
Module Contents#
- class ifcopenshell.api.owner.remove_address.Usecase(file, address=None)#
Removes an address
Naturally, any organisations or people using that address will have the relationship removed.
- Parameters
address (ifcopenshell.entity_instance.entity_instance) – The IfcAddress to remove.
- Returns
None
- Return type
None
Example:
organisation = ifcopenshell.api.run("owner.add_organisation", model) address = ifcopenshell.api.run("owner.add_address", model, assigned_object=organisation, ifc_class="IfcPostalAddress") # Change our mind and delete it ifcopenshell.api.run("owner.remove_address", model, address=address)
- execute(self)#