Small fix to Arch IFC importer

This commit is contained in:
Yorik van Havre 2012-01-24 15:44:21 -02:00
parent 9a6520a9a9
commit d68269db34

View File

@ -108,7 +108,10 @@ def readOpenShell(filename,useParser=False):
pass pass
elif altifc and (obj.type == "IfcWallStandardCase"): 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: elif USESHAPES:
# treat as Parts # treat as Parts