Also downloaded the latest OpenStudio version and then copy/pasted the CSharp openstudio folder to Ladybug folder. Still getting the same error. The way I understand it there is an old version that won’t have this problem. I would love it if you could tell me which and if I can follow the same process (i.e. installing Openstudio and copy/pasting) to downgrade to.
As you can see, Mostapha and Dan Macumber of the OS team have been at this issue for a long time and it is unfortunately hindering further development of the OpenStudio connection. It seems to just affect certain systems (laptops more than desktops for some reason). I didn’t get a working version at any point on my old laptop (no matter what the version of OpenStudio that I tried) but my new laptop is able to handle it for some reason.
Hopefully we all gear up for another go at fixing this soon.
Thanks for your answer. I understand from the long discussion that it has been a difficult issue. I was wondering though, since my laptop was working before I updated to the latest Openstudio, would there be a solution to this using earlier version dll files? And do you maybe know of a link for them? Tried looking but didn’t manage (Mostapha’s link is already updated).
Unfortunately still the only solution to this issue, right now, is using the old version of OpenStudio. We couldn’t figure out what’s going on with this!
I did not realize that the components still work with older versions of OpenStudio. I know that these older versions are not ideal but using them would at least allow me to continue developing with the OS SDK for the time being until we get the PINVOKE thing fixed. I am guessing that one of the versions on this page might still work:
Hi Chris, I think the version is 1.4.0. You won’t be able to find it in the release. You will need the 64bits compiled version which was not part of the official release at that time. Axel was making it every time just for us! I should still have a copy of the old version somewhere.
Sorry for being away in this lately. I have a few days off work, I will quickly try a small model tomorrow morning (as it’s quite late here) and come back to you tomorrow!
Sounds like amazing news though!
As an additional question, are the components still being developed? I remember not all the ASHRAE templates were working.
The development for OpenStudio has been on hold for this issue. Hopefully now we can get it started again. I also assume there has been many modifications on OpenStudio side! Let me know if the new version works on your system.
Just in case you haven’t done it before, once you download and install OpenStudio 64bits you can find C# libraries at C:\Program Files\OpenStudio 1.8.0\CSharp\openstudio copy this files to working directory on your system\openstudio and then open Grasshopper and test your file.
This is terrific…I feel like I’m reading the breaking news. First the Pluto flyby, now the PINVOKE resolution…A great week for scientific discovery! I’m just starting to dig into these tools you’ve bee churning out, and looking forward to it (and spending less time plinking around in IDFs).
It seems to be working now, which means I can finally start learning how to properly combine honeybee’s tools with Openstudio’s components (had an issue at first on what properties OS is changing on my zones).
I was wondering if we have any news about templates 7 and 8. They seem to not have been implemented yet (this was on the original version I think as well). Is there development going on still on this? I only ask because those 2 programs are at the center of all my modelling apparently.
There is no active development on systems at this point. I think the latest changes are made by Chien Si. Do you want to start working on them until we really get started on Butterfly?