lib/measures/AedgSmallToMediumOfficeInteriorFinishes/measure.rb in openstudio-aedg-0.1.1 vs lib/measures/AedgSmallToMediumOfficeInteriorFinishes/measure.rb in openstudio-aedg-0.2.0
- old
+ new
@@ -42,14 +42,17 @@
# 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_data/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'
+require 'openstudio/extension/core/os_lib_geometry'
+require 'openstudio/extension/core/os_lib_helper_methods'
+
# load OpenStudio measure libraries
require "#{File.dirname(__FILE__)}/resources/OsLib_AedgMeasures"
-require "#{File.dirname(__FILE__)}/resources/os_lib_constructions"
-require "#{File.dirname(__FILE__)}/resources/os_lib_geometry"
-require "#{File.dirname(__FILE__)}/resources/os_lib_helper_methods"
# start the measure
class AedgSmallToMediumOfficeInteriorFinishes < OpenStudio::Measure::ModelMeasure
# include OpenStudio measure libraries
include OsLib_AedgMeasures