Scheduler: onStartCook static flag

   1214   1   1
User Avatar
Member
10 posts
Joined: Feb. 2016
Offline
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.
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
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.
  • Quick Links