Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#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