ifcopenshell.api.owner.remove_address
¶
Module Contents¶
- ifcopenshell.api.owner.remove_address.remove_address(file, address=None) None ¶
Removes an address
Naturally, any organisations or people using that address will have the relationship removed.
- Parameters:
address (ifcopenshell.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)