Nick da Silva
ndasilva
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Partition by attribute by combination? Dec. 11, 2023, 12:02 p.m.
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.
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 Nov. 14, 2023, 2:59 p.m.
Amazing, that works perfectly. Thank you!
@pdg_input only returns first input Nov. 14, 2023, 1:19 p.m.
How do I run those in python?