Eric Sheng

EricSheng

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Can I get the overall cook state easily? June 16, 2020, 10:05 p.m.

joabs
Which version of Houdini are you using?
18.0.391

Can I get the overall cook state easily? June 16, 2020, 12:20 a.m.

I want to get the overall cook state's information like the new PDG toolbar UI. On how many nodes or work items have been cooked, and how many been waiting for cooking.
Now I use code like this:
ctx = node.context
workitems = [i.state for n in ctx.graph.nodes() for i in n.workItems]
completes = workitems.count(pdg.workItemState.CookedSuccess)
And I want to get reported (print some logs) for every work item when it get cooked, so I put the code to the WorkItemStateChange EventHandler.
It works but sometimes the work item hanging on cooking state and never gets cooked. So is there any convenient way to do such thing?
Thanks.

Houdini Engine for Unreal - Version 2 June 1, 2020, 10:37 p.m.

aboutvrp
June…I hope to release v2 this month
Me, too. But it seems like we need to wait a little more time.