Last active
June 12, 2019 10:56
-
-
Save simonreeves/3f3ab2b251a30195de4abee8868528e6 to your computer and use it in GitHub Desktop.
#houdini #python shelf tool for tab menu
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
# toolsutil part came from a built-in shelf tool so I could get the correct context pwd | |
import toolutils | |
pane = toolutils.activePane(kwargs) | |
new_node = pane.pwd().createNode('subnet', 'lights') | |
new_node.setColor(hou.Color(0.97, 0.8, 0.27)) | |
new_node.setUserData('nodeshape', 'light') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment