Taylor Petrick

tpetrick

About Me

Connect

LOCATION
Canada
WEBSITE

Houdini Skills

Availability

Not Specified

My Tutorials

obj-image Intermediate
PDG Partitioner Nodes
obj-image Quick Tips
Work Item Attributes

Recent Forum Posts

Submit 1 task per work item to deadline. Nov. 20, 2023, 1:37 p.m.

How are you cooking your graph? If you're pressing the Submit button on the Deadline scheduler, that submits your entire scene file as job to the farm. If you want to cook interactively you should first set your Deadline scheduler as the default, which you can do by Right-mouse clicking on it and finding the option in the list. Then you can cook normally by using Shift+G on RMB->Cook Node on your output node.

@pdg_input only returns first input Nov. 14, 2023, 1:32 p.m.

If you're using Python, you can use the Python API instead of HScript. There's an equivalent function in Python for all of the things available in HScript, for example: https://www.sidefx.com/docs/houdini/tops/pdg/WorkItem.html#inputFilesForTag [www.sidefx.com]

So for example from a Python parameter expression, you can use pdg.workItem().inputFilesForTag("file") to get a list of all input files, or pdg.workItem().inputFilesForTag("file/image") for all input image files.

If you're using a Python Script node, which already has the work item stored to a work_item local variable, you can use: work_item.inputFilesForTag("file").

@pdg_input only returns first input Nov. 14, 2023, 12:50 p.m.

In that case, pdginputvals(..) returns the list of all inputs as a space-separated string: https://www.sidefx.com/docs/houdini/expressions/pdginputvals.html [www.sidefx.com]

And, you can also use pdginputsize(..) to get the actual number of input files with a particular tag: https://www.sidefx.com/docs/houdini/expressions/pdginputsize.html [www.sidefx.com]