mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
add_classification - remove dead and deprecated code
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user