Publish definitions for geolocation and project setup MicroMVD

This commit is contained in:
Dion Moult
2020-07-27 18:38:13 +10:00
parent 2837f75d50
commit e2621e0207
4 changed files with 288 additions and 154 deletions
+15
View File
@@ -0,0 +1,15 @@
import ifcopenshell
class IfcFile(object):
file = None
bookmarks = {}
@classmethod
def load(cls, path=None):
cls.file = ifcopenshell.open(path)
@classmethod
def get(cls):
if not cls.file:
assert False, 'No file was loaded, so this requirement cannot be checked'
return cls.file