Fix bug where enum properties won't export

This commit is contained in:
Dion Moult
2020-09-03 19:36:35 +10:00
parent d1852b2415
commit b2e6075aa3
@@ -1642,7 +1642,8 @@ class IfcExporter():
for name, data in templates.items():
if name not in pset['raw']:
continue
if data.TemplateType == 'P_SINGLEVALUE':
if data.TemplateType == 'P_SINGLEVALUE' \
or data.TemplateType == 'P_ENUMERATEDVALUE':
if data.PrimaryMeasureType:
value_type = data.PrimaryMeasureType
else: