ifcopenshell.api.document.remove_information
¶
Module Contents¶
- ifcopenshell.api.document.remove_information.remove_information(file, information=None) None ¶
Removes a document information
All references and associations are also removed.
- Parameters:
information (ifcopenshell.entity_instance) – The IfcDocumentInformation to remove
- Returns:
None
- Return type:
None
Example:
# Add a document document = ifcopenshell.api.run("document.add_information", model) # ... and remove it! ifcopenshell.api.run("document.remove_information", model, information=document)