Let's say we wanted to implement a feature like autosave in Houdini. Every x minutes, we're automatically executing some python function to save our project.
How could one implement such an "application-scope" background task feature? It doesn't seem like the kind of thing a shelf tool is meant for.
Background Python Tasks
1344 3 1- wyhinton1
- Member
- 80 posts
- Joined: 2月 2020
- Offline
- Andr
- Member
- 899 posts
- Joined: 2月 2016
- Offline
- minong7051
- Member
- 2 posts
- Joined: 7月 2022
- Offline
- wyhinton1
- Member
- 80 posts
- Joined: 2月 2020
- Offline
minong7051
not a good idea for autosave when houdini startup, you can build two python script on shelf,check first to start a global time thread,second to stop it
Wouldn't I have to manually click the shelf tool to start the timer though? Or are you suggesting that at startup the tool is automatically triggered somehow? The idea is that I don't have to think about the tool, it knows when to run itself.
-
- Quick Links