i have a PlugIn which comes with a toolbar (rui) file. Each button in that toolbar runs an IronPython script. The macro in each button looks like this:
! _-RunPythonScript ScriptName.py
The module search path to all scripts is the PlugIn folder. It’s been defined in the new Script Editor under:
After setting the search path, i’ve clicked Apply Changes and restarted Rhino 9 Beta, however the scripts in the buttons do not run. No error is shown.
btw. If i run _-EditPythonScript nothing happens. Has the old Script Editor been removed in Rhino 9 ?
Hi @Gijs, after multiple restarts the old EditPythonScript editor came up and i was able to define my searchpath there. Now _-RunPythonScript Scriptname.py works from a button and the scripts are found when there is no path in front of the scriptname.
Defining the searchpath in the new script editor (under the IronPython 2) section does not work. Btw. i’ve tried Rhino Options > Files > Searchpaths too but that did not work either.