Skip to content

Commit

Permalink
Arch: Fixed wrong export of objects of undefined IFC type
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Dec 13, 2019
1 parent 2c0daad commit 19127f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Arch/exportIFC.py
Expand Up @@ -1456,6 +1456,8 @@ def getIfcTypeFromObj(obj):
ifctype = translationtable[ifctype]
if ifctype == "VisGroup":
ifctype = "Group"
if ifctype == "Undefined":
ifctype = "BuildingElementProxy"

return "Ifc" + ifctype

Expand Down

0 comments on commit 19127f3

Please sign in to comment.