Python script folder path

Hello!!!

i just installed Rhino 9, and i pass all my toolbar from 8 to 9!!!

but i’ve got a lot of buton like this: ! _-RunPythonScript (“X_NomenclatureTubes2.py”)

how can I add my personal script folder to Rhino, i search in options… I remenber that on the V8 I had the same problem…

but no result

You need to unlock your file. Tick the “Debloquer” checkbox, see if is working.

No change…

This command should work _-ScriptEditor _R “module.py” by this post

In Rhino 9, the two commands behave differently:

  • _-ScriptEditor _R "module.py" finds the script using my declared paths, but it is slow (it initializes the Script Editor each time).
  • ! _-RunPythonScript "module.py" is instant, but it only works if I give the full path to the file. With just the file name, it can’t find it.

Since -RunPythonScript is the faster option for a button, I’d like it to resolve the file name through my search paths, as it did before.