lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/measure.rb in openstudio-aedg-0.1.1 vs lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/measure.rb in openstudio-aedg-0.2.0
- old
+ new
@@ -40,12 +40,15 @@
# http://openstudio.nrel.gov/openstudio-life-cycle-examples
# see the URL below for access to C++ documentation on model objects (click on "model" in the main window to view model objects)
# http://openstudio.nrel.gov/sites/openstudio.nrel.gov/files/nv_hash/cpp_documentation_it/model/html/namespaces.html
+# load OpenStudio measure libraries from openstudio-extension gem
+require 'openstudio-extension'
+require 'openstudio/extension/core/os_lib_constructions'
+
# load OpenStudio measure libraries
require "#{File.dirname(__FILE__)}/resources/OsLib_AedgMeasures"
-require "#{File.dirname(__FILE__)}/resources/os_lib_constructions"
# start the measure
class AedgSmallToMediumOfficeExteriorDoorConstruction < OpenStudio::Measure::ModelMeasure
include OsLib_AedgMeasures
include OsLib_Constructions