Use Ironpython in Rhino8

Hello,

How can I make my Python scripts work on Rhino8? They are written using Ironpython, since they are supposed to work on Rhino6/7. I would like to force Rhino8 to use Ironpython as well, without porting the scripts to pure Python. Is it possible?

Thanks in advance,
Emma

EditPythonScript with IronPython is still around in 8.

thank you very much!

@Emma_Bizzotto You can also use IronPython in the new ScriptEditor, by adding the line #! python 2 at the top of your scripts. Or creating a new script and selecting β€œNew IronPython 2”, which will add that shebang line too.

2 Likes

Thanks @pierrec for the useful tip! I am sorry I did not see your reply before.