I need to trigger a menu-script evaluation every second or less.
How can I do it?
I guess I could use a background event callback like addEventLoopCallback(callback) [www.sidefx.com] , but I don't know how to trigger the menu script evaluation with python.
The menu-script is always triggered when you manually change any parameter of the node. But it won't be triggered when you change the parm with python.
Do you have any idea how to trigger a menu-script evaluation?
How to force re-evaluate a menu-script every second?
1934 4 2- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
- EricSheng
- Member
- 159 posts
- Joined: Feb. 2018
- Offline
- animatrix_
- Member
- 4520 posts
- Joined: Feb. 2012
- Offline
Hi,
You can call menuparm.pressButton() in Python.
You can call menuparm.pressButton() in Python.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
- vinyvince
- Member
- 255 posts
- Joined: Sept. 2012
- Offline
What about to force houdini to evaluate an ordered menu script which will build a HDA multiparm block?
I tried with different things, can't convinced him to effectually evaluate my menu script..
I tried with different things, can't convinced him to effectually evaluate my menu script..
Vincent Thomas (VFX and Art since 1998)
Senior Env and Lighting artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
Senior Env and Lighting artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
-
- Quick Links