ifcopenshell.api.library.remove_library

Module Contents

ifcopenshell.api.library.remove_library.remove_library(file: ifcopenshell.file, library: ifcopenshell.entity_instance) 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) – The IfcLibraryInformation entity you want to remove

Returns:

None

Return type:

None

Example:

library = ifcopenshell.api.library.add_library(model, name="Brickschema")
ifcopenshell.api.library.remove_library(model, library=library)