Hello everyone !
Is there a way to show a popup that does not block houdini processes ?
context : My houdinicore.py displays a popup (api: hou.ui.displayMessage() ) when houdini starts. But it freezes houdini startup until user closes the popup, which is bad UX.
I'd rather have houdini continue starting, and the user can close the popup whenever it prefers.
thank you very much !
Valentin Besson
Non-blocking displayMessage() popup ?
1069 1 0- VBesson
- Member
- 7 posts
- Joined: Feb. 2017
- Offline
- mrCatfish
- Member
- 731 posts
- Joined: Dec. 2006
- Offline
I think you can hijack the system's messaging utilities. For examlple, on Linux in a textport:
I don't see a python equivalent to "unix" so I guess you'll have to use hou.hscript to call it. I know that "unix" command works on windows, but I don't know what its messaging utility is called.
set cmd = "this is my message" unix zenity --info --text \"$cmd\" &
I don't see a python equivalent to "unix" so I guess you'll have to use hou.hscript to call it. I know that "unix" command works on windows, but I don't know what its messaging utility is called.
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
-
- Quick Links