add_classification - remove dead and deprecated code

This commit is contained in:
Andrej730
2024-07-24 18:06:59 +05:00
parent 7edd1225c0
commit 8b29e50f11
@@ -116,13 +116,7 @@ class Usecase:
self.relate_to_project(result)
return result # See bug #1272
try:
result = self.file.add(self.settings["classification"])
except:
migrator = ifcopenshell.util.schema.Migrator()
result = migrator.migrate(self.settings["classification"], self.file)
return result
def relate_to_project(self, classification):
self.file.create_entity(