Hi all,
I'm new to using the python package for openstudio 3.8 and am writing a very basic call to simulate my OSM file. As it stands, the important bit looks like this, where osw_path
is an OpenStudio::Path to the OSW file I'm trying to run.:
cli_path = openstudio.getOpenStudioCLI()
cmd = f'"{cli_path}" run -w "{osw_path}"
However, the openstudio.getOpenStudioCLI()
call is returning "."
rather than an openstudio.exe
file which makes me think there's something more to set up here. Perhaps there's a Python equivalent to how in Ruby you add an openstudio.rb
file to the {RUBY_VERSION}\lib\ruby\site_ruby
directory?
Any ideas for a best practice here rather than hard coding a path the to openstudio.exe
?