ifcopenshell.api.document.edit_information

Module Contents

ifcopenshell.api.document.edit_information.edit_information(file: ifcopenshell.file, information: ifcopenshell.entity_instance, attributes: dict[str, Any]) None

Edits the attributes of an IfcDocumentInformation

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

Parameters:
  • reference (ifcopenshell.entity_instance) – The IfcDocumentInformation entity you want to edit

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

Returns:

None

Return type:

None

Example:

document = ifcopenshell.api.document.add_information(model)
ifcopenshell.api.document.edit_information(model,
    information=document,
    attributes={"Identification": "A-GA-6100", "Name": "Overall Plan",
    "Location": "A-GA-6100 - Overall Plan.pdf"})