When running a HB Model to OSM node in Rhino.Inside from Revit I get the following error:
Runtime error (IndexOutOfRangeException): index out of range: 0
line 224, in script
The node stops after a message of: ‘Done with Model Translation!’ in the cmd window.
This only happens when running from Rhino.Inside, when the exact same geometry and graph is run from Rhino standalone, the OSM node runs and outputs results.
What I have tried:
When installing different versions of IronPython to the system I get different errors from this node.
When any version of IronPython other than 2.7.12 is installed as the system IronPython install, I get an error of _sqlite3 not found. The Model to OSM node does however run in this case. Again this error regarding _sqlite3 occurs from Rhino.Inside and not rhino Standalone, which works with any version of IronPython installed. _sqlite3 can also not be found when no version of IronPython is installed to the system and running from Rhino.Inside.
I have installed Honeybee Tools from within grasshopper running from Rhino.Inside, I have run the ‘set_python_path’ file from ‘C:\Users\User\ladybug_tools’.
Is there anything I am missing? Is there any way to force Revit to use the exact configuration as that which Rhino uses?
Thanks in advance.