ifcopenshell.api.owner.edit_person#

Module Contents#

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

Edits the attributes of an IfcPerson

For more information about the attributes and data types of an IfcPerson, consult the IFC documentation.

Parameters
Returns

None

Return type

None

Example:

person = ifcopenshell.api.run("owner.add_person", model,
    identification="bobthebuilder", family_name="Thebuilder", given_name="Bob")
ifcopenshell.api.run("owner.edit_person", model, person=person,
    attributes={"MiddleNames": ["The"], "FamilyName": "Builder"})
execute(self)#