i want to automate my application in rhino, so i’m working in batch mode. I was able to run rhino and grasshopper in batch mode. Hovewer, rhino pops up, when I run the following code in cmd:
I saw same questions in forum, but nobody solved this problem in python (at least I didn’t see it). Is there a way running rhino 7 without popping up. Some other softwares use commands like ‘-batch’. Is there also such a command in rhino?
Thank you for your response Wim and AIW. I tried rhinoinside. However, I got this error. Do you have any idea, why did I get this error and how can I solve it?
Little translate to english: “the given assembly name or the code basis is unvalid”
You definitely don’t need this for the way you are starting Rhino. That is for running Rhino inside of CPython and that is not what is being done here.
You should be able to do what you are trying to do with our external access technique. Here’s a post where something similar was done
HEEDS would launch a vbs file with the script to launch and run Rhino. In the script you would call RunScript "_-RuntPythonScript GrasshopperRhinoInterfaceScript.py"