ifcopenshell.api.owner.remove_address
¶
Module Contents¶
- ifcopenshell.api.owner.remove_address.remove_address(file: ifcopenshell.file, address: ifcopenshell.entity_instance) 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.owner.add_organisation(model) address = ifcopenshell.api.owner.add_address(model, assigned_object=organisation, ifc_class="IfcPostalAddress") # Change our mind and delete it ifcopenshell.api.owner.remove_address(model, address=address)