Is there a trick to add more wedge count during pdg cook, something like queue.
Example: I have 5 input 'wedge count', when I press a button (that I create to execute python), it will increase the 'wedge count', rather than stop the pdg.
tpetrickThank you for clarify.
That's currently not possible. Once the network begins to cook, external Python code can't make those kind of modification to the graph. It is possible to add work items to a node using the Python API (https://www.sidefx.com/docs/houdini/tops/pdg/Processor.html#injectStaticItems), however that can only be done when the graph is not cooking. Any requests to insert work items into a node that is part of an active cook will be queued up and processed once the cook finishes.