mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 03:21:00 +00:00
Add experimental support for gbxml - make importer import spaces, as it is very important for energy modeling
This commit is contained in:
@@ -15,7 +15,7 @@ class ImportIFC():
|
||||
def execute(self):
|
||||
self.load_file()
|
||||
n = 0
|
||||
elements = self.file.by_type('IfcElement')
|
||||
elements = self.file.by_type('IfcElement') + self.file.by_type('IfcSpace')
|
||||
for element in elements:
|
||||
self.create_object(element)
|
||||
n += 1
|
||||
|
||||
Reference in New Issue
Block a user