Call python module function when input has changed ?
2586 2 0- elveen3d
- Member
- 2 posts
- Joined: July 2017
- Offline
- tamte
- Member
- 8786 posts
- Joined: July 2007
- Offline
I believe you can use this workflow
https://www.sidefx.com/docs/houdini/hom/locations.html#asset_modules [www.sidefx.com]
shows you how to either call specific function from python module
or also how to create module from section
both can be used to access your python module functions in OnInputChanged callback section
https://www.sidefx.com/docs/houdini/hom/locations.html#asset_modules [www.sidefx.com]
shows you how to either call specific function from python module
or also how to create module from section
both can be used to access your python module functions in OnInputChanged callback section
Edited by tamte - Sept. 15, 2021 12:15:16
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- elveen3d
- Member
- 2 posts
- Joined: July 2017
- Offline
tamte
I believe you can use this workflow
https://www.sidefx.com/docs/houdini/hom/locations.html#asset_modules [www.sidefx.com]
shows you how to either call specific function from python module
or also how to create module from section
both can be used to access your python module functions in OnInputChanged callback section
Thank you tamte, for me it's end up like this
kwargs["node"].hdaModule().log()
-
- Quick Links