Lets say I have two list of items: coordinates and shape, the numbers in the shape list are between 0-1. I only want to take the coordinates of the list that corresponds to the numbers 1 in the shape list. How do I do that on Grasshopper?
Change the title of the thread to “Culling of list”?
Check the shape list for values equal to one so you have a list of Booleans (True/False), then use two copies of Cull Pattern to call both lists using the same pattern (‘P’ input)…
What if I want values between 0.95 to 1?
Look at the ‘Math | Operators’ tab. Put in some effort!
Thanks for helping. What if I have 3 list of items now, coordinates / shape / length, shape and length list are between 0-1 and I want to get the coordinates of the list that corresponds to the numbers 1 on both shape and length list?
There is an and operator. Looks like a “^” symbol