OnCreated scripts

OnCreated Script to set name, color, shape of node:

cachename = hou.ui.readInput("Enter cache name")
node = kwargs["node"]
node.setName(cachename[1])
node.setUserData('nodeshape', "tilted")
node.setColor(hou.Color(1,0,0))


Revision #3
Created 2021-02-10 09:10:40 UTC by Anthony
Updated 2024-01-30 11:37:22 UTC by Anthony