ifcopenshell.api.library.edit_library#

Module Contents#

class ifcopenshell.api.library.edit_library.Usecase(file, library=None, attributes=None)#

Edits the attributes of an IfcLibraryInformation

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

Parameters
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."})
execute(self)#