ifcopenshell.api.document.remove_information

Module Contents

ifcopenshell.api.document.remove_information.remove_information(file: ifcopenshell.file, information: ifcopenshell.entity_instance) 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.document.add_information(model)
# ... and remove it!
ifcopenshell.api.document.remove_information(model, information=document)