ifcopenshell.api.classification.remove_classification
¶
Module Contents¶
- class ifcopenshell.api.classification.remove_classification.Usecase¶
- execute()¶
- get_references(classification)¶
- ifcopenshell.api.classification.remove_classification.remove_classification(file: ifcopenshell.entity_instance, classification: ifcopenshell.entity_instance) None ¶
Removes an IfcClassification from the project and all references
The classification and all of its relationships, children references, and relationships between objects and child references are completely removed from a project.
- Parameters:
classification (ifcopenshell.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)