Created
July 29, 2013 16:43
-
-
Save sanfx/6105696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add Custom menu for scripts | |
menubar=nuke.menu("Nodes") | |
m=menubar.addMenu("San") | |
# Add Python scripts to the custom menu | |
m.addCommand("Move Up", "import moveupdown; \ | |
moveupdown.moveUp()", icon="PostageStamp.png") | |
m.addCommand("Move Down", "import moveupdown; \ | |
moveupdown.moveDown()", icon="PostageStamp.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment