ifcopenshell.api.library.edit_library
¶
Module Contents¶
- ifcopenshell.api.library.edit_library.edit_library(file, library=None, attributes=None) 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, optional) – a dictionary of attribute names and values.
- Returns:
None
- Return type:
None
Example:
library = ifcopenshell.api.run("library.add_library", model, name="Brickschema") ifcopenshell.api.run("library.edit_library", model, library=library, attributes={"Description": "A Brickschema TTL including only mechanical distribution systems."})