If you have multiple versions of a software package installed, Shotgun Desktop will use the latest version as the default. However, it is possible to set a different default version.
To do this you can create two Software entities on your Shotgun site.
On one of them fill in the Versions field with the version you want to be default, and tick the Group Default checkbox. Then on the other fill in all the other versions, you want to be available.
Thank you for this. I’m having an issue when I try to do this for Nuke specifically, where all the different Nuke-related apps (NukeAssist, NukeX, NukeStudio, etc.) go under one Nuke icon, and NukeAssist ends up being the default app launched. How can this be avoided? I would like to keep our current app layout but have only a couple of Nuke versions made available.
I’ve configured our Hiero Player launchers in the way described, but I’m not seeing the desired behaviour. In the dropdown menu that should list the available versions, I just see:
Hiero Player Default
Hiero Player Others
…where I would expect to see:
Hiero Player 14.0.2*
Hiero Player 14.0.1
Hiero Player 13.2.5
If you enter a path in the software laucnher then the automatic discovery for versions does not run.
Also trhe automatic discovery for versions, by default, would not work for you since you have a custom rez path.
You will likely have to fork the tk-nuke engine and change the startup.py functions to do what you want it to do.
You may also need to fork the tk-multi-launchapp since it is reponsible for displaying the software entities.
Ah so this behaviour depends on automatic discovery? That wasn’t clear - thanks Ricardo.
I can get pretty much the behaviour I want without forking anything, by manually creating an entry for every version, but this seems to create a lot of almost redundant entries.
then the automatic discovery for versions does not run.
I do see entries appearing in the dropdown menu for which there is no entry in the Shotgrid web gui table, e.g.
…however the ‘automatic path discovery’ should not be adding that entry either, since there’s no corresponding app on disk. This persists after I destroy my ~/.shotgun directory. I’m trying to figure out where they’re coming from.