ifcopenshell.api.owner.add_person#

Module Contents#

class ifcopenshell.api.owner.add_person.Usecase(file, identification='HSeldon', family_name='Seldon', given_name='Hari')#

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.entity_instance

Example:

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