Small fix to Arch IFC importer

This commit is contained in:
Yorik van Havre
2012-01-24 15:44:21 -02:00
parent d243a3457a
commit 5e12b1630b

View File

@@ -108,7 +108,10 @@ def readOpenShell(filename,useParser=False):
pass
elif altifc and (obj.type == "IfcWallStandardCase"):
makeWall(altifc.Entities[obj.id],shape=getShape(obj))
if USESHAPES:
makeWall(altifc.Entities[obj.id],shape=getShape(obj))
else:
makeWall(altifc.Entities[obj.id])
elif USESHAPES:
# treat as Parts