algorithmic modeling for Rhino
Hi All,
I'm having some trouble creating a custom component with a reference to Karamba elements.
It's a C# visual studio project with a reference to the Karamba.gha (added by referencing a dummy-dll and then changing the project file reference to the correct location in text).
It builds fine and shows up, however, when using the component, it gives me the following error:
1. Solution exception:Could not load file or assembly 'karamba, Version=1.15.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Does anyone of you have any experience with custom components referencing another .gha?
Kind regards,
Merijn
Tags:
Hi Merijn,
Grasshopper loads plug-ins in the alphanumerical order of their names. In case your plug-in comes before 'Karamba' try to rename it so that it is loaded when Karamba3D is already present.
Another issue could be the loading options used for Karamba3D. Try to change the 'Memory load *.GHA assemblies using COFF byte arrays' in the Grasshopper developersettings. This can also be set for each plug-in individually via Grasshopper's about panel.
Best,
Clemens
Hi Clemens,
Thanks for your answer. The Memory load is already set to off, or do you mean putting it on? (I thought most of the times working with custom nodes it is advisable to have it off)
As for the alphanumerical order, I think the problem then lies in the fact that grasshopper loads the plugins in its own library folder first, whilst karamba is installed in the rhino plugin folder by default. By copying the .gha to the grasshopper library folder the problem was solved.
Anyway, many thanks for your response!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by