ifcopenshell.api.owner.edit_organisation

Module Contents

ifcopenshell.api.owner.edit_organisation.edit_organisation(file: ifcopenshell.file, organisation: ifcopenshell.entity_instance, attributes: dict[str, Any]) None

Edits the attributes of an IfcOrganization

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

Parameters:
  • organisation (ifcopenshell.entity_instance) – The IfcOrganization entity you want to edit

  • attributes (dict) – a dictionary of attribute names and values.

Returns:

None

Return type:

None

Example:

organisation = ifcopenshell.api.owner.add_organisation(model,
    identification="AWB", name="Architects With Ballpens")
ifcopenshell.api.owner.edit_organisation(model, organisation=organisation,
    attributes={"name": "Architects Without Ballpens"})