Revision history  [back]

If you look at the last two lines of the example measure test documented here it will show you how to save a model in a command prompt.

# save the model to test output directory
output_file_path = OpenStudio::Path.new(File.dirname(__FILE__) + "/output/my_test_model_test_a_output.osm")
model.save(output_file_path,true)

If you look at the last two lines of the example measure test tested documented here it will show you how to save a model in a command prompt.

# save the model to test output directory
output_file_path = OpenStudio::Path.new(File.dirname(__FILE__) + "/output/my_test_model_test_a_output.osm")
model.save(output_file_path,true)