mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where enum properties won't export
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user