lib/from_openstudio/geometry/room.rb in honeybee-openstudio-2.22.0 vs lib/from_openstudio/geometry/room.rb in honeybee-openstudio-2.22.1
- old
+ new
@@ -36,10 +36,10 @@
def self.from_space(space)
hash = {}
hash[:type] = 'Room'
hash[:identifier] = clean_identifier(space.nameString)
- hash[:display_name] = space.nameString
+ hash[:display_name] = clean_display_name(space.nameString)
hash[:user_data] = {space: space.handle.to_s}
hash[:properties] = properties_from_space(space)
site_transformation = space.siteTransformation
hash[:faces] = faces_from_space(space, site_transformation)