ifcopenshell.api.owner.add_person
¶
Module Contents¶
- ifcopenshell.api.owner.add_person.add_person(file: ifcopenshell.file, identification: str = 'HSeldon', family_name: str = 'Seldon', given_name: str = 'Hari') ifcopenshell.entity_instance ¶
Adds a new person
Persons are used to identify a legal or liable representative of an organisation or point of contact.
- Parameters:
identification – The computer readable unique identification of the person. For example, their username in a CDE or alias.
family_name – The family name
given_name – The given name
- Returns:
The newly created IfcPerson
Example:
ifcopenshell.api.owner.add_person(model, identification="bobthebuilder", family_name="Thebuilder", given_name="Bob")