Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Use the VersionTranslator:

translator = OpenStudio::OSVersion::VersionTranslator.new
ospath = OpenStudio::Path.new(myfilepath)
model = translator.loadModel(ospath)
model = model.get