ifcopenshell.api.owner.add_person

Module Contents

ifcopenshell.api.owner.add_person.add_person(file: ifcopenshell.entity_instance, identification: str = 'HSeldon', family_name: str = 'Seldon', given_name: str = 'Hari') None

Adds a new person

Persons are used to identify a legal or liable representative of an organisation or point of contact.

Parameters:
  • identification (str, optional) – The computer readable unique identification of the person. For example, their username in a CDE or alias.

  • family_name (str, optional) – The family name

  • given_name (str, optional) – The given name

Returns:

The newly created IfcPerson

Return type:

ifcopenshell.entity_instance

Example:

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