could anyone help me please. How to write an alias for a python script?

Neither of the following works:

    ! _RunPythonScript "ScriptName.py",    ! _RunPythonScript "path\ScriptName.py"

    ! _RunPythonScript (ScriptName.py),    ! _RunPythonScript (path\ScriptName.py")

A window with my scripts opens, but the script is not started automatically.

What is the correct syntax?

Thanks in advance,


Views: 526

Replies to This Discussion

Hello again,

I found:

     ! _-RunPythonScript "ScriptName"

a hyphen before Run... suppresses open file dialogue box and the script runs.

I have them in default Rhino path for scripts:


I hope someone benefits from my post

Yes, benefitted.  Thanks.



© 2018   Created by McNeel Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service