I'm trying to run a script on nodes created in the stage context but doesn't work as it should. Works fine in the out context. For example changing a merge node colour with this setup works fine for out but not for stage:
└── scripts ├── 123.py ├── 456.py ├── __init__.py ├── obj │ ├── geo_OnCreated.py │ └── __init__.py ├── out │ ├── __init__.py │ └── merge_OnCreated.py └── stage ├── __init__.py └── merge_OnCreated.py
import hou merge_node = kwargs['node'] merge_node.setColor(hou.Color((1, 0, 0)))
Is there something I'm missing thats different for stage?
Many thanks
Steve