ShotGunDropper

enable drag and drop from Shotgun into Nuke

Updated: 13 August 2019

Author: frank

Compatible Nuke versions: 6.0 or later

Compatibility: Linux, Mac, Windows

v1.6 fixed bugs with windows paths


 

v1.5 fixed bugs in v1.4 that broke the tool


v1.4 downloads the original filr frmo Shotgun if sg_path_to_frames is empty (rough and dirty as prooff of concept)


v1.3 modified to work with nukescripts.addDropDataCallback. Please see instructions below for updated info on how to get this running. Also, this verison supports drag&drop of Shots and Playlists.


v1.2 has a bit of code optimisation to avoid unnecessary Shotgun connections (as suggested by Mihall - thanks).

 


 

v1.1 also works with Shotgun's email links. Check out the new video here.


 

This python snippet enables you to drag Shotgun Versions from your browser straight into Nuke to create Read nodes.

For those of you who aren't familiar with the Shotgun's vfx database, check it out here

 A short demo can be found here.

 

In order to get this to work with your shotgun config follow these steps:
  1. put ShotgunDropper.py into your plugin path
  2. make sure the path to the shotgun api is part of NUke's PYTHONPATH or NUKE_PATH (currently shotgun_api3 is used)
  3. add your shotgun server's name, script name and script key in lines 65-67
  4. in your menu.py, add this line:
1
2
import ShotGunDropper
nukescripts.addDropDataCallback(ShotGunDropper.dropSG)

(Re)Start Nuke and you're off...

Sign in or register to download or rate.