Open rhino files, bake with grasshopper then close everything

Hi @antho2b, sorry no.

If you’re just starting with scripting i would recommend to try the task with a RhinoScript written in Python or VBScript. Using a script which is started from the Python Editor (_EditPythonScript) when Rhino is already open allows easier access to Rhino commands as well as to Grasshopper. Doing it with a *.bat file requires to have external access which only works with automation and COM. You can find more info about this here.

Since using COM or *.bat is not required if you already have opened Rhino, you may first find some examples on how to batch-open files in sub-folders.

Once you handled that here is an example which explains how to open GH, a GH definition and then bake something using a python script…

_
c.