Nick da Silva

ndasilva

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Partition by attribute by combination? 2023年12月11日12:02

I would like to use the partition by attribute TOP to partition items from the first input with items from the second input. However it seems the partition by attribute will partition anything from all inputs together if they match with no control for isolating inputs. The partition by combination creates combinations from the different inputs, but doesn't allow matching by attribute. Is there a way to combine both functionalities into one?

Here's what I'm trying to do. I have 3 work items in the first input. They have an attribute "combination" which matches a work item in one of the second inputs. I would like to make unique combinations between the first and second inputs, however because two of the items in the first input have the same combination value, they both get put into the same partition. I'm sure the python partitioner would work, but I haven't figured out how to isolate inputs with that either.

@pdg_input only returns first input 2023年11月14日14:59

Amazing, that works perfectly. Thank you!

@pdg_input only returns first input 2023年11月14日13:19

How do I run those in python?