lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.1.11 vs lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.1.12
- old
+ new
@@ -566,10 +566,10 @@
end
end
end
end
if construction.insulation.empty? and construction.isOpaque
- raise ("construction #{construction.getAttribute("name").get.to_s} insulation layer could not be set!. This occurs when a insulation layer is duplicated in the construction.")
+ raise ("construction #{construction.name.get.to_s} insulation layer could not be set!. This occurs when a insulation layer is duplicated in the construction.")
end
insulating_layers << return_material
end
\ No newline at end of file