generative modeling for Rhino
Hi. I have a problem loading the plugin.
I don't get this, because it seems that Rhino can load the plugin, but after it is "successfully loaded" it is "unable to load Grasshopper". The command history sais this:
Rhino.NET plug-in: C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp
- referenced assembly count: 5
- plug-in passes RhinoDot_NET.DLL reference version check
- loading assembly using Reflection::Assembly::LoadFrom
- attempting to find definition of MRhinoPlugInAttributes subclass
- 12 exported types
Rhino.NET successfully loaded C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp
Unable to load GrasshopperPlugin.rhp plug-in: application initialization failed.
sounds like Grasshopper is loaded ok, but then probably crashes while setting up some initial stuff. The only things that should happen inside the loading routine are:
Did you ever accept a license agreement?
Which exact version of Rhino4 do you have, or are you trying to load it in Rhino5?
Just in case the error is not caused by the loading routine (of which I'm very sceptical, but hey, I could be wrong), can you try running a different command first, say _GrasshopperDeveloperSettings?
I'm pretty close to releasing a new version, at which point I can give you a special copy that may help narrow down where exactly it fails.
Thanks for your reply David!
I have rhino 4 with service release 8
Do you mean the license agreement when installing grasshopper? If so i did.
_GrasshopperDeveloperSettings is an unknown command, so is grasshopper
I've had a case where a user couldn't run Grasshopper until they updated to Rhino4 SR9. Can you update to see if that works?
Now, I've installed SR9 and I still have the same problem. When I try to load grasshopper plugin I get this message:
Rhino.NET error: C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp
plug-in already loaded
Unknown command: Grasshopper
Thanks for your help David. I just got it to work. It was a problem caused by a 64-bit version of vcredist_x86.EXE. Took me a long time to figure that out. Thanks tho!
Phew, thanks for letting me know.
How exactly did you fix this, I have the exact same problem... sr9 win 7
Well, this is what happened to me. The first time I tried to install grasshopper for some reason I couldn't load the link from the Grasshopper Download site to Microsofts website. So I googled the filename. That was the only way I could find it. The problem then was that google sent me to a similar page with a file with the exact same filename, this one:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&am... (don't use this!!)
Now, today I tried the link again and for some reason it worked. It led me to the correct site, which is the one I should have gotten to in the first place:
To solve it I just downloaded the right one, installed it and when I launched Rhino again it worked.
Although my error message didn't look anything like yours, (see attached image) your remedy worked for me. It's maybe since I'm running Parallels v5 OSX 10.6.8 with W7 as my virtual machine...but it's up and running now. Thank you!