lib/to_openstudio/construction/shade.rb in honeybee-openstudio-2.26.0 vs lib/to_openstudio/construction/shade.rb in honeybee-openstudio-2.27.0

- old
+ new

@@ -44,9 +44,12 @@ def to_openstudio(openstudio_model) os_construction = OpenStudio::Model::Construction.new(openstudio_model) os_construction.setName(@hash[:identifier]) + unless @hash[:display_name].nil? + os_construction.setDisplayName(@hash[:display_name]) + end os_materials = OpenStudio::Model::MaterialVector.new # create standard glazing if is specular is true if @hash[:is_specular] == true os_material = OpenStudio::Model::StandardGlazing.new(openstudio_model) \ No newline at end of file