Python rhinoscriptsyntax in Rhino6


I am trying to run a code via PythonEditor on Rhino6 that is working on Rhino5 without any errors.

Is rhinoscriptsyntax working for rhino6?

I am wondering how to solve these errors in rhino6:

Message: Method not found: ‘Void Microsoft.Scripting.Utils.ExceptionUtils.RemoveData(System.Exception, System.Object)’.

line 67, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\”
line 6, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\”
line 9, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\”
line 2, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\”
line 2, in , “Y:\005_Via\Petras\”

This is likely an incompatibility issue caused by the IronPython from Dynamo.

1 Like

Hi Long Nguyen,

I if I have installed other ironpython version on my machine Rhono 6 becomes angry and does allow to run any scripts? Removal of other IronPython version should help?

I think It is not the version of Python, but more about different instances of Python.

The link above suggested a fix. Have you tried that?

Works like a charm. I removed Python 2.7.3.
And my stuff works in Rhino 6.
Thank you.

Keeping other versions of python does not harm anything

1 Like

More on this here:

Thanks Anders:)

1 Like