I am realy stuck with the use of the stream filter.
I created a user object where if the input is null I want it to be replaced with a default value. Everything works fine for single values but once I input a list I get the message “can only operate on a single Filter index value”
I would expect for it to be able to do the same operation with lists. Is there an equivalent component for lists? or am I not understanding something?
Heyyyy!!!
I wanted for a long time to tell you I admire your skills a lot!
now, about the problem:
indeed, this solves the specific problem, but it is only an example. In many cases I find myself wanting to feed a different list to a component depending on a specific condition.
In a definition I am working now, I want to feed two different sets of length parameters to a series of curves, depending on their distance from the ground. (evens get one set, odds get a different set)
essentially I want a stream filter that works with lists as conditions.
I am not like Peter, No dark Side, No White Side. I think the 2 ways are useful. For example for the Morpheus replication I did a quite pure GH script for 1 problem and a complete C# for the windows.
Mixing the 2 is the best for me. Sometimes I handle more easily DataTree in C#. Knowing Rhinocommon is useful, it is one of the power of Rhino the 2nd is Grasshopper.
Maybe I can still help others with this kind of problem: I had similar issues with the Stream Filter not working with multiple index values. We spotted a post by David suggesting the “Weave” component which solved it.