bobbybob Posted April 13, 2021 Share Posted April 13, 2021 Hi. I am trying to implement a function that will set "on parameter" to false, and set "opacity parameter" to 0 on a Octane light node, when it's display flag is turned off. I would like to implement it in "pythonrc.py" or another similar structure, to keep it global, instead of implementing it into the light asset, but what event function can I use to get calls whenever display flags are changed? Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted April 13, 2021 Share Posted April 13, 2021 https://www.sidefx.com/docs/houdini/hom/hou/nodeEventType.html FlagChanged is what you're looking for. Also, read "Node event handler files" section from here https://www.sidefx.com/docs/houdini/hom/locations.html and use OnCreated.py instaed of pythonrc.py Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.