検索 - User list
Full Version: hou.topNode.dirtyTasks() parameters?
Root » PDG/TOPs » hou.topNode.dirtyTasks() parameters?
toadstorm
I'm trying to make a quick script button that cooks a TOP network when I push a button on the HDA. I want to use the dirtyTasks() or dirtyAllTasks() functions, but I get an error saying that both functions are looking for at least two arguments. No arguments are provided in the documentation.
chrisgreb
what's the code that is failing? dirtyAllTasks is called on a topnode and takes one boolean parameter, True meaning also delete the output files on disk.
Cera
Ditto I ran into this issue. There is no argument provided. Def a document bug.

https://www.sidefx.com/docs/houdini/hom/hou/TopNode.html [www.sidefx.com]
dirtyAllTasks()

Dirties all the tasks in a PDG graph so that when the graph cooks again, it will cause a complete recook.
seelan
Both dirtyTasks and dirtyAllTasks will be documented with their arguments in the next daily build. They both take in a boolean argument (remove_outputs) which means to remove all generated files from disk.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB