mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Fix #1288 - error when importing consecutive files.
This commit is contained in:
@@ -9,6 +9,12 @@ class Data:
|
||||
items = {}
|
||||
layers = {}
|
||||
|
||||
@classmethod
|
||||
def purge(cls):
|
||||
cls.is_loaded = False
|
||||
cls.items = {}
|
||||
cls.layers = {}
|
||||
|
||||
@classmethod
|
||||
def load(cls, item_id=None):
|
||||
cls._file = IfcStore.get_file()
|
||||
|
||||
Reference in New Issue
Block a user