ifcopenshell.api.library.edit_library

Module Contents

ifcopenshell.api.library.edit_library.edit_library(file: ifcopenshell.file, library: ifcopenshell.entity_instance, attributes: dict[str, Any]) None

Edits the attributes of an IfcLibraryInformation

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

Parameters:
  • library (ifcopenshell.entity_instance) – The IfcLibraryInformation entity you want to edit

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

Returns:

None

Return type:

None

Example:

library = ifcopenshell.api.library.add_library(model, name="Brickschema")
ifcopenshell.api.library.edit_library(model, library=library,
    attributes={"Description": "A Brickschema TTL including only mechanical distribution systems."})