IconPanel

show the default icons along with the required syntax for use in labels

Updated: 24 May 2011

Author: frank

Compatible Nuke versions: 6.0 or later

Compatibility: Linux, Mac, Windows

v1.1 added the missing imports


This is a little panel that shows Nuke's default icons and the syntax required to use them in custom labels for your own scripted UIs.

At the moment the used icons are hard coded which is rather ugly but works for now.
Put this into your menu.py and you will find the "Universal Icons" panel in the panel menu.
1
2
3
4
5
6
7
8
9
10
import IconPanel
 
def addIconPanel():
global iconPanel
iconPanel = IconPanel.IconPanel()
return iconPanel.addToPane()
 
paneMenu = nuke.menu( 'Pane' )
paneMenu.addCommand( 'Universal Icons', addIconPanel )
nukescripts.registerPanel('com.ohufx.iconPanel', addIconPanel)

 


 

iconPanel_01

iconPanel_01

Sign in or register to download or rate.