I’m experimenting with the RiR add-in for Revit (2019) and keep running into this error, followed by an exception crash as follows
Error HRESULT E_FAIL has been returned from a call to a COM component.
at Rhino.Runtime.InProcess.RhinoCore.Startup(Int32 argc, String argv, StartupInfo& info, IntPtr hostWnd)
at Rhino.Runtime.InProcess.RhinoCore…ctor(String args, WindowStyle windowStyle, IntPtr hostWnd)
at RhinoInside.Revit.Revit.OnStartup(UIControlledApplication applicationUI) in
I can start the WIP Rhino with no issues and the Rhino 6 (both showing the version 6 serial number) so I assume they are both licensed
The Rhino-behind Revit starts but of course no buttons in Revit are created
Please start Rhino WIP using the desktop icon and enable debug logging like this:
-_TestEnableDebugLogging _Enable=Yes _SaveTo=File
Then close and restart Rhino from Revit. When it crashes a file named RhinoDebugMessages.txt will be created in your Documents folder. Please send that to me - it should help me see what is going wrong.
Please unzip RhinoSDK-Messages.zip and open the file “Enable RhinoSDK Messages.reg”
Then run again Rhino inside Revit.
Some message boxes should appear.
Please capture those messages using some screenshot tool like Windows Snipping Tool and send it back to me.
Remember to open the “Disable RhinoSDK Messages.reg” to turn those dialogs off again.
Sorry bout that - I thought thats what I did - maybe i sent the wrong one. I’m just uploading the dump with the second message on the screen (looks a little different so I’m not sure if I missed a step somewhere - if it’s still wrong i’ll try again tomorrow)