where i intend to change node color and pol for a name input.
It seems however that is not even printing its own name.
I am at a loss.
names: (space added to prevent linking)
null_OnCreated .py
null_OnLoaded .py
import hou import traceback def test(node, event_type, **kwargs): try: print(node.name()) print("reached") #node.setColor(hcolor) except: # the node is probably locked. just ignore it. pass try: me = kwargs['node'] if me is not None: # print("creating callback") me.addEventCallback((hou.nodeEventType.InputRewired, ), test) except: print(traceback.format_exc())