mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
Use schema_identifier to get IFC4X3 schema more precisely
This commit is contained in:
@@ -140,7 +140,7 @@ class Patcher:
|
||||
# Assume it's a filepath - existing or not.
|
||||
pass
|
||||
|
||||
self.schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(self.file.schema)
|
||||
self.schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(self.file.schema_identifier)
|
||||
|
||||
if self.sql_type == "sqlite":
|
||||
self.db = sqlite3.connect(database)
|
||||
|
||||
Reference in New Issue
Block a user