Hi,
In Nuke, we currently have an in-house tool that finds all plates for a given shot and create a read for each.
I would like to update this tool since, now, in our Pipeline, all the required infos are now published in Shotgun.
When thinking about it, I want to replicate exactly the Shotgun Loader behavior but in background. This way, scene breakdown will also work.
So my question is: is there a way to trigger Shotgun loader without calling the gui?
For exemple, for the current context load last version of published file for a given template?
I know how to do this trough python outside of Shotgun Loader but then I won’t have a functional “Scene Breakdown”…
EDIT:
Basically, I want to achieve this:
engine = sgtk.platform.current_engine()
loader_app = engine.apps.get[“tk-multi-loader2”]
selected = loader_app.open_publish(“Select Geometry Cache”, “Select”, [“Alembic Cache”])
print selected
But without any user intervention to select
Cheers