Export to OPENSTUDIO error "ModelCorePINVOKE"

If you want to use OpenStudio 3.0 with legacy honeybee, then your solution is here:

even in 2020 i got this message

some can make youtube tutorial how to fix this

I am using openstudio 3.4 with ladybug and honeybee 1.5 and I am facing the pinvoke error. I also tried to follow the instructions in the grasshopper python script editor but it doesn’t seem to work. Do you have any tip?

Hello @yosan, I followed these steps to make it work:

  1. To uninstall all OpenStudio versions from your computer;
  2. To install OpenStudio 2.4 from here: Release OpenStudio v2.4.0 · NREL/OpenStudio · GitHub (as @feng noted);
  3. Recompute .gh file where you have the HoneyBee-Energy (v 0.0.66) set up.
    Cheers!
1 Like

it worked perfectly.

@koukinsonsaku Thank you very much. It worked once I changed the OpenStudio version.