ifcopenshell.api.library.remove_library
¶
Module Contents¶
- ifcopenshell.api.library.remove_library.remove_library(file, library=None) 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.run("library.add_library", model, name="Brickschema") ifcopenshell.api.run("library.remove_library", model, library=library)