ifcopenshell.api.owner.remove_person

Module Contents

ifcopenshell.api.owner.remove_person.remove_person(file: ifcopenshell.file, person: ifcopenshell.entity_instance) None

Remove an person

All roles and addresses assigned to the person will also be removed. In IFC2X3 will also remove related inventories if person was the only responsile person for them.

Parameters:

person (ifcopenshell.entity_instance) – The IfcPerson to remove

Returns:

None

Return type:

None

Example:

ifcopenshell.api.owner.add_person(model,
    identification="bobthebuilder", family_name="Thebuilder", given_name="Bob")
ifcopenshell.api.owner.remove_person(model, person=person)