First time here? Check out the Help page!
1 | initial version |
If you need a one-liner without intermediate files, just call the CLI in a terminal like this:
openstudio -e "vt = OpenStudio::OSVersion::VersionTranslator.new; m = vt.loadModel('test.osm').get; ft = OpenStudio::EnergyPlus::ForwardTranslator.new; w = ft.translateModel(m); w.save('test.idf', true);"