Skip to content

Instantly share code, notes, and snippets.

@plasmax
Created October 10, 2014 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plasmax/77cf686936e4fc1891dd to your computer and use it in GitHub Desktop.
Save plasmax/77cf686936e4fc1891dd to your computer and use it in GitHub Desktop.
#Max's Custom Nuke Menu
import ml_AutoWrite_v1_0
menubar = nuke.menu("Nuke")
mlmenu = menubar.addMenu("Max")
mlmenu.addCommand("Create EXR AutoWrite", "ml_AutoWrite_v1_0.gdMakeEXRWriteNodes()")
mlmenu.addCommand("Open In Explorer Window", "ml_AutoWrite_v1_0.gdOpenDir()", "shift+r")
mlmenu.addCommand("Create Directory", "ml_AutoWrite_v1_0.gdMakeDir()", "shift+d")
mlmenu.addCommand("Set Selected Read In and Out Frames", "ml_AutoWrite_v1_0.setInAndOutFrames()")
mlmenu.addCommand("Create Read From Selected", "ml_AutoWrite_v1_0.copyFilePathToNewRead()")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment