Opening Grasshopperfiles in file explorer without starting a new Rhino

Hi!

Most programs starts a new tab or something similar when opening a new document while the program is already running, but if you open a grasshopper-file by double clicking it in file explorer a whole new Rhino starts. Is there a way to change this setting?
Grasshopper has the functionality to have multiple scrips open at the same time, so I cant see why this isn’t possible.

Thanks for any suggestions.

1 Like

It can be done (with some custom code) but it cannot be simply enabled (McNeel doesn’t provide the feature natively)

1 Like

Ok, thanks for the input.

It’s not a big annoyance, so anything beyond ticking a box somewhere isn’t worth the hassle.

A few years ago I developed a plug-in for that purpose. Hopefully, I would update it to work with newer versions.

4 Likes

Very impressive!
I hope you will find the time to do an update for newer versions, because this looked very useful and easy to install.

Perhaps I am missing something, but I frequently open GH files simply by double-clicking them. Doing this starts Rhino, and then GH opens and and loads the selected GH file. I believe this is a standard function of Windows that happens as a result of file association: if you right-click on a GH file you get a list of options, one of which is Open with…

Selecting this gives you a dialog that lets you specify the program you want to use to open this type of file. That dialog has a check box that lets you always use the program to open the GH file type. So just specify Rhino. From then on double-clicking a GH file will cause Rhino to start, open GH, and load the file.

The OP wants the new GH file to be opened in an existing Grasshopper session.

I do that all the time by drag & drop from my file manager onto the GH window. I grant you it’s quite easy for me because I have 2 monitors, but if you get used to using Alt-Tab it’s pretty easy to do with only one screen.