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

Revision history [back]

There are a couple of utility functions for this, here's the Ruby:

require 'openstudio'

puts OpenStudio::openStudioVersion()
puts OpenStudio::energyPlusVersionMajor()
puts OpenStudio::energyPlusVersionMinor()
puts OpenStudio::energyPlusVersionPatch()
puts OpenStudio::energyPlusVersion()
puts OpenStudio::energyPlusBuildSHA()

Right now, that writes out (from my built version of OpenStudio

2.1.0
8
7
0
8.7.0
78a111df4a

There are a couple of utility functions for this, here's the Ruby:

require 'openstudio'

puts OpenStudio::openStudioVersion()
puts OpenStudio::energyPlusVersionMajor()
puts OpenStudio::energyPlusVersionMinor()
puts OpenStudio::energyPlusVersionPatch()
puts OpenStudio::energyPlusVersion()
puts OpenStudio::energyPlusBuildSHA()

Right now, that writes out (from my built version of OpenStudioOpenStudio)

2.1.0
8
7
0
8.7.0
78a111df4a

There are a couple of utility functions for this, here's the Ruby:

require 'openstudio'

puts OpenStudio::openStudioVersion()
puts OpenStudio::openStudioLongVersion
puts OpenStudio::energyPlusVersionMajor()
puts OpenStudio::energyPlusVersionMinor()
puts OpenStudio::energyPlusVersionPatch()
puts OpenStudio::energyPlusVersion()
puts OpenStudio::energyPlusBuildSHA()

Right now, that writes out (from my built version of OpenStudio)

2.1.0
2.1.0.fae436fc10
8
7
0
8.7.0
78a111df4a

There are a couple of utility functions for this, here's the Ruby:

require 'openstudio'

puts OpenStudio::openStudioVersion()
puts OpenStudio::openStudioLongVersion
puts OpenStudio::energyPlusVersionMajor()
puts OpenStudio::energyPlusVersionMinor()
puts OpenStudio::energyPlusVersionPatch()
puts OpenStudio::energyPlusVersion()
puts OpenStudio::energyPlusBuildSHA()

Right now, that writes out (from my built version of OpenStudio)

2.1.0
2.1.0.fae436fc10
8
7
0
8.7.0
78a111df4a