First time here? Check out the Help page!
1 | initial version |
Use the VersionTranslator
:
translator = OpenStudio::OSVersion::VersionTranslator.new
ospath = OpenStudio::Path.new(myfilepath)
model = translator.loadModel(ospath)
model = model.get