Search - User list
Full Version: Scheduler: onStartCook static flag
Root » PDG/TOPs » Scheduler: onStartCook static flag
waynewu
Hi,

I have a question about the static argument for the onStartCook callback when implementing a scheduler. It seems like static always return False regardless if I do “Generate Static Work Items” or “Cook Output Node”. I would expect “Generate Static Work Items” to pass in static as True? Unless the static argument is not what I think it is.

Thanks!

Wayne W.
chrisgreb
static refers to a static graph cook, see onScheduleStatic:

sidefx.com/docs/houdini/tops/schedulers_callbacks.html#scheduler-callbacks

“Generate Static Work Items” performs the generation phase of a PDG cook. onStartCook is called, but the “static” in this case refers to the fact that no cooking of work items is performed, so no dynamic generation can occur.
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