HOW can I make hython wait for PDG job to finish ?

   368   1   0
User Avatar
Member
11 posts
Joined: 4月 2022
Offline
I have a vellum sim setup I want to run on a given set of FBXs and various frame ranges in batch.
The current HDA runs everything in PDG.

Hython isn't waiting for PDG to finish the task.

Is there a TOP or python command to make the hython python shell wait until PDG is done?

Thanks for helping
User Avatar
Member
11 posts
Joined: 4月 2022
Offline
I figured this out. you can't call pressButton()
you have to call the function on the PDG node with Block
node.cookOutputWorkItems(block=True, generate_only=False, tops_only=False)
  • Quick Links