I tried the method here to access the Karamba.GHopper namespace. It works and now I can use the Karamba.GHopper namespace in visual studio! But now a new problem arises, I get the failed to cast GH_Element to GH_element error.
I’ve unhook the Memory load *.GHA asemblies using COFF byte arrays in Grasshopper Developer settings, and reopen rhino. Now my grasshopper component just disappears. Is there a way for me to solve this? Thank you in advance.
Not sure if this is the official way to do it, but after setting Copy Local back to default true and changing the RegisterOutputParams back to pManager.AddGenericParameter(“”, “”, “”, GH_ParamAccess.list); it works.
Do you reference karamba3D version 2.2.0.18 on purpose? Could it be that you have an old version of Karamba3D installed and try to compile your plug-in with a later version?
– Clemens
The company that I work in decide to stick to version 2 due to some updates in v3 api. I have 2.2.0.180 in grasshopper and 2.2.0.144 in visual studio installed.