Dobbin Thomas wrote:
Hello,
I am interested in running Rhino 5 remotely using a batch file. Here's what I need to do with one batch file:
- Launch Rhino 5 and load a specific file
- Run a python script (the command "RunPythonScript")
- Exit Rhino
The python script makes a new text file at the end which I need to pass to some modelling stuff in C++. I can work out how to run Rhino via a batch file, but not run the script. Here is my current file built from the guide here: http://wiki.mcneel.com/developer/commandline
"H:**Correct File Directory**\Rhino 5\Rhino_File.3dm"
This runs the file but nothing I've tried runs a python script, even through trying the "/runscript" command. Can you run python files in Rhino using the command line?
Thanks very much, if you need any specifics let me know.
Posts: 5
Participants: 3