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"
I have a similar case where rather heavy project is written in VBA and now I need to connect it to Rhino, so to run Rhino inside Excel for some processing of the geometry. What is the best way to connect ro Rhino in that case?
Can I still use Rhino.Inside?
Or should I look at the External Access technique like described here: External Access
I was reading that the above had some issues with early binding. Is it solved now? I am currently still using Rhino 7.0
Another important aspect to consider that I need Rhino to be visible (not the batch mode I guess) but it should be limited to one viewport only.