ifcopenshell.api.classification.remove_classification#

Module Contents#

class ifcopenshell.api.classification.remove_classification.Usecase(file, classification=None)#

Removes an IfcClassification from the project and all references

The classification and all of its relationships, children references, and relationships between objectse and child references are completely removed from a project.

Parameters

classification (ifcopenshell.entity_instance.entity_instance) – The IfcClassification entity you want to remove

Returns

None

Return type

None

Example:

classification = model.by_type("IfcClassification")[0]
ifcopenshell.api.run("classification.remove_classification", model,
    classification=classification)
execute(self)#
get_references(self, classification)#