Hi,
I added an Export to Openstudio component on my canvas. I got an error telling me to download the Csharp library from here: https://app.box.com/s/y2sx16k98g1lfd3r47zi
First, if I may make a suggestion:
-
I would add these steps to the installation instructions
-
I would double quote the path, I got confused by whether I should include the "" at the end of the path (%appdata%\Ladybug\OpenStudio).
Anyway, I downloaded the libraries, and pasted all the dll to the OpenStudio_ folder needed.
But it throws an exception on line 67:
Runtime error (IOException): file does not exist: C:\Users…\AppData\Roaming\Ladybug\OpenStudio_\openStudio.dll
Traceback:
line 67, in script
One thing is that the box link for the libraries give you a zip that does include a dll that looks very similar… except it’s cased differently: it is Upper Camel Case (OpenStudio.dll) and not Lower Camel Case (openStudio.dll)
Another thing is that even once I have renamed the above dll to match the casing, I still get this exception, even though os.path.isfile(os.path.join(openStudioLibFolder, “openStudio.dll”)) returns True.
If I type the path on the run command it does land at the appropriate file…
I’m confused, any ideas?