generative modeling for Rhino
Sorry if this is annoying, but I just cannot figure out why this simple definition does not work. It is a 5m cantilever loaded with dead load:
Whatever I change or do, I always get this error. I have also been through almost all of the Karamba example files and all of them give me the same error. The model assembly just does not want to work at my place.
Any ideas or hints would be appreciated...
uninstall Karamba completely (Start/Settings,...) then search the Rhino-folder for Karamba vestiges ('karamba*.*'). In case there are any delete them. Then reinstall karamba.
Thanks for the hint, but unfortunately it is still not working. I have cleaned up all karamba files that I could find on my computer and have even cleaned up the registry. I have also removed all of the other custom GH components to be sure that there are no conflicts, but the model assembly does not want to work.
start grasshopper, then type 'gras' in the Rhino text window and select 'GrasshopperDeveloperSettings'. Check whether the pathes listed there contain the directory where 'karamba.dll' resides. If not add a corresponding path.
If this does not help place 'karamba.dll' in the windows default search path for dlls: this is e.g. '../Windows/System32' for 32bit or '../Windows/SysWOW64' for 64bit applications.
Sorry, neither the first one nor the second one. I have now karambas all over my computer and GH is pointing at them but the model assembly just does not want to work. Have even restarted the computer.
Must be a kind of witchcraft...
The error you get means that karamba.gha (the C# part that contains the GH components) can not get in touch with karamba.dll (which contains the C++ computation part).
Do you use Rhino4 or Rhino5 (32bit) or Rhino5 (64bit)?
Rhino5 64 bit, Win7
When you call GrasshopperDeveloperSettings: is the 'Memory load *.GHA...' checkbox checked or not? (it should be checked).
You are certain that you have installed the 64bit version of Karamba?
The checkbox is checked, I have installed karamba_64bit_1_0_0_FREE_GH_09_0006.msi. Should I try the trial installer to see if the problem persists?
When you go to Grasshopper.DeveloperSettings there are at least two pathes listed: one points to the GH components folder, one to '...\AppData\Roaming\Grasshopper\Libraries\'. Please check whether there is an old karamba installation in the latter one and remove it if present. If there are more than the two pathes listed above check them also.
I am also running Rhino5 64 bit, Win7 and it works. I will update to the latest Rhino release to see whether I can reproduce your problem.
How did you install GH: do you have one in the Rhino 4 and one in the Rhino 5 directory?
It looks as though GH is finding an outdated karamba.dll before the correct one. If the above does not work try a search for 'karamba.dll' and 'karamba.gha' on you hard drive and remove all copies encountered.
The above discussion had used up all the horizontal space so it was not possible to add comments and we had to exchange e-mails. Here is the solution:
Got it finally! The installation folder should not be ...\Rhinoceros 4.0\Plug-ins\Grasshopper\Components\ but one level higher ...\Rhinoceros 4.0\Plug-ins\Grasshopper\
Now the fun starts...