I'm trying to get a simple list of external dry bulb temperatures
Code: Select all
# Define currently open project folder
project = iesve.VEProject.get_current_project()
# Asks user to select a results file
result_file = IesFilePicker.pick_aps_file()
# Load results file
vista_file = iesve.ResultsReader.open(result_file)
# get.room.list() returns a list of room ids, room names, room volumes and room areas
room_list = vista_file.get_room_list()
dbulbs = vista_file.get_weather_results('Temperature','w')
print(dbulbs)
Code: Select all
Traceback (most recent call last):
File "C:\Users\ukrcm001\Documents\My VE Scripts\test_4.py", line 27, in <module>
dbulbs = vista_file.get_weather_results()
Boost.Python.ArgumentError: Python argument types in
ResultsReader.get_weather_results(ResultsReader)
did not match C++ signature:
get_weather_results(class ResultsReader {lvalue}, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, int start_day=-1, int end_day=-1)
Thanks
CP
