lib/from_openstudio/construction/shade.rb in honeybee-openstudio-2.22.3 vs lib/from_openstudio/construction/shade.rb in honeybee-openstudio-2.22.4
- old
+ new
@@ -38,10 +38,10 @@
def self.from_construction(construction)
# create an empty hash
hash = {}
hash[:type] = 'ShadeConstruction'
# set hash values from OpenStudio Object
- hash[:identifier] = construction.nameString
+ hash[:identifier] = clean_name(construction.nameString)
# get outermost construction layers
layer = construction.layers[0]
if layer.to_StandardGlazing.is_initialized
layer = layer.to_StandardGlazing.get
hash[:is_specular] = true