Fix #1071. New IFC file version 2X3<->4 upgrader and downgrader IfcPatch recipe

This commit is contained in:
Dion Moult
2020-12-04 11:52:18 +11:00
parent 06685f9768
commit 884e8a5663
3 changed files with 19 additions and 9 deletions
@@ -201,12 +201,3 @@ class Migrator:
}
)
return self.default_entities[attribute.name()]
# f = ifcopenshell.open("/home/dion/migrate.ifc")
# g = ifcopenshell.file(schema="IFC4")
# migrator = Migrator()
# for e in f:
# print(e)
# print(migrator.migrate(e, g))
# g.write("/home/dion/migrate2.ifc")