ifcopenshell.api.owner.remove_person#

Module Contents#

class ifcopenshell.api.owner.remove_person.Usecase(file, person=None)#

Remove an person

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

Parameters

person (ifcopenshell.entity_instance.entity_instance) – The IfcPerson to remove

Returns

None

Return type

None

Example:

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