Hi!
I’m working on a Revit plugin to convert geometries to NURBS.
After installing rhino3dm v7.7.0 through the Package Manager Console and building successfully, the plugin throws the a Unable to load DLL 'librhino3dm_native' error at run-time at the line where rhino3dm is first used.
the full error message:
Unable to load DLL 'librhino3dm_native': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I do see these 3 files: Rhino3dm.dll, librhino3dm_native.dylib, and librhino3dm_natibe.so
in the same directory as my plugin’s dll. Wondering if I am missing anything here? Or is there any other packages rhino3dm depends on that I am missing.
Are you referring to nuget or is there some other package manager specific to Revit?
librhino3dm_native.dll is the Windows specific native DLL that ships with Rhino3dm and should be loaded by Rhino3dm. I see that it is part of the current shipping nuget package, so there may be some logic bug in Rhino3dm when loaded into Revit.
Over the last few releases we’ve been fixing some of the issues related to this error. It would be great if you could try the latest rhino3dm: Rhino3dm 8.0.0-beta3 released 🎉