Search - User list
Full Version: Add more wedge count during pdg cook ?
Root » PDG/TOPs » Add more wedge count during pdg cook ?
forted.exe
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.
tpetrick
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.
forted.exe
tpetrick
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.
Thank you for clarify.
So without pdg, is there other pipeline to do the concept like that (a button to add work item to queue during cook, use all computer resource at the same time).
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