ifcopenshell.api.library.remove_library#

Module Contents#

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

Removes a library

All references along with their relationships will also be removed. Any products which have relationships to this library will not be removed.

Parameters

library (ifcopenshell.entity_instance.entity_instance) – The IfcLibraryInformation entity you want to remove

Returns

None

Return type

None

Example:

library = ifcopenshell.api.run("library.add_library", model, name="Brickschema")
ifcopenshell.api.run("library.remove_library", model, library=library)
execute(self)#