Grasshopper file commandline argument for Rhino

We can already launch rhino and specify the path to a 3dm file to load.

I would like to also be able to specify a grasshopper file as well.

I don’t care if rhino uses the file extension (.gh) or a -G flag to know which kind of file is which.

I would like to be able to specify both the 3dm and the gh file and have rhino load the 3dm file first then run grasshopper and load the gh file.

This is a startup string I use in VS, it may work also for you:

/nosplash "rhino_filename.3dm" /runscript="-grasshopper solver enable load document open _enter"

// Rolf

That is indescribably awesome!!!

Thank you :slight_smile:

Hi @RIL, do you know why this is not working? (i’m working with powershell)

Start Rhino.exe -ArgumentList /runscript="-Grasshopper solver enable document open _enter"

Rhino is launched ok, but it wont open the grasshopper file

Btw, is there any place to consult which commandline arguments are available for “Rhino.exe”?? thanks!