diff --git a/source/external/ifcimporter.js b/source/external/ifcimporter.js index 25cbcd7..c3a1101 100644 --- a/source/external/ifcimporter.js +++ b/source/external/ifcimporter.js @@ -141,7 +141,7 @@ OV.ImporterIfc = class extends OV.ImporterBase meshProperty = new OV.Property (OV.PropertyType.Text, property.Name.value, property.NominalValue.value); } else if (property.NominalValue.label === 'IFCBOOLEAN') { // TODO: bool property type - meshProperty = new OV.Property (OV.PropertyType.Text, property.Name.value, property.NominalValue.value === 'T' ? 'Yes' : 'No'); + meshProperty = new OV.Property (OV.PropertyType.Boolean, property.Name.value, property.NominalValue.value === 'T' ? true : false); } if (meshProperty !== null) { propertyGroup.AddProperty (meshProperty);