mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix Migrate not migrating ifc file header #5903
This commit is contained in:
@@ -312,6 +312,7 @@ class Migrator:
|
||||
}
|
||||
|
||||
def preprocess(self, old_file: ifcopenshell.file, new_file: ifcopenshell.file) -> None:
|
||||
new_file.assign_header_from(old_file)
|
||||
to_delete = set()
|
||||
|
||||
if old_file.schema == "IFC2X3" and new_file.schema == "IFC4":
|
||||
|
||||
Reference in New Issue
Block a user