Curious to know if my filter can be created smaller

Hello Everyone,

I have made a simple filter, but i have a lot similar scripts like this in my script. Is there maybe a way to make this smaller? (The Python script is a List.ReplaceItemAtIndex node which supports more than one Index as input.)

Thanks in advance!

ValueFilter_30-10-2019.dyn (18.7 KB)

The answer is already in the title of your grouped nodes. Translate that to designscript and you end up with something like this:

4 Likes

Thank you so much man! I was sure there was an easy solution like this but i couldn’t figure it out myself!

1 Like