lib/to_openstudio/geometry/aperture.rb in honeybee-openstudio-2.26.0 vs lib/to_openstudio/geometry/aperture.rb in honeybee-openstudio-2.27.0
- old
+ new
@@ -112,9 +112,13 @@
os_subsurface.setName(@hash[:identifier] + "..#{index}")
else
os_subsurface.setName(@hash[:identifier])
end
+ unless @hash[:display_name].nil?
+ os_subsurface.setDisplayName(@hash[:display_name])
+ end
+
# assign the construction if it exists
if @hash[:properties][:energy][:construction]
construction_identifier = @hash[:properties][:energy][:construction]
construction = openstudio_model.getConstructionByName(construction_identifier)
if !construction.empty?