Hi everyone, I have a list o distances from which I sorted them into two groups bigger than 20 so “True”and “False”for the ones that dont meet the requirement. The problem is when I try to use the replace items component. I want the “True”values so larger than 20 mm distance to be replaced with value 0 WITHOUT (and that is the hard part) changing the place of this item in the list. so for example if the list of 3 items is (0| 5 ; 1| 25 ; 2|26) it would mean (False ; True ;True) and i would like to use replace items to have new list of distances that is ( 0| 5 ; 1|0 ; 2|0 ). I want to presrrve order of the items at all cost as well. It doesnt work with what I have in my file. Could anyone try and fix my script please?
250923_Attractor point_forum.gh (20.4 KB)

