ifcopenshell.api.document.remove_information#

Module Contents#

class ifcopenshell.api.document.remove_information.Usecase(file, information=None)#

Removes a document information

All references and associations are also removed.

Parameters

information (ifcopenshell.entity_instance.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)
execute(self)#