lib/from_openstudio/construction_set.rb in honeybee-openstudio-2.26.0 vs lib/from_openstudio/construction_set.rb in honeybee-openstudio-2.27.0

- old
+ new

@@ -39,9 +39,12 @@ # create an empty hash hash = {} hash[:type] = 'ConstructionSetAbridged' # set hash values from OpenStudio Object hash[:identifier] = clean_name(construction_set.nameString) + unless construction_set.displayName.empty? + hash[:display_name] = (construction_set.displayName.get).force_encoding("UTF-8") + end hash[:wall_set] = {} hash[:floor_set] = {} hash[:aperture_set] = {} hash[:door_set] = {} hash[:roof_ceiling_set] = {}