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

Revision history [back]

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);"