Search the Community
Showing results for tags 'ropcopsopflop'.
Found 1 result
Hi there I am currently making a HDA that takes a mesh, does an infection solve and spits out resulting textures; I have finally got my top graph cooking fine however I am a bit lost as to how the user will actually trigger it from the HDA interface. Promoting the force cook on the topnet doesn't work and even when normally activated, it seems to use up all houdini's threads as opposed to a cook from within the graph. I have also been scouring the pdg python module docs to see if I can trigger the network to cook from a callback script. The furthest I have got on that front is the cook method on both pdg.GraphContext and pdg.Node objects. pdg.GraphContext.cook() seems to want a CookOptions object which I don't know how to generate or manually create. pdg.Node.cook() wants a block argument and I am also lost as to what that is, I've tried using block=1,1 etc I found a py file called top in /houdini/python2.7libs/pdg/job/ which contains a function called cookTopNode. This looks promising however I don't know how to call it nor which module/object it is a member of. I'll provide a scene file if needed, just needs a bit of decluttering first Any help is greatly appreciated. George