Index for a range

Hello everyone, thank you for taking the time to help me.

I would like to find an operator or a framework that can return the index not only for a specific value, but for a range. Specifially, all indexes with a distance lower than 0.2. The file is attached.

Identificador de pontos_Demanda Melqui.gh (188.2 KB)

Using includes will enable you to test if the values are within a certain range.. but the points you are referencing were not included in your GH file so I cannot tell if it is working as you’d like, and i am unsure of your end goal here. but afterwards just use culling components to remove the objects not in range.

Hope this helps.

@Jake_Blasko Thank you so much for your help! What I am looking for is the index, not a true or false value. A version with the points is attached now.

Area_point_identification.gh (186.0 KB)

@Lucas_Machado,

Does this look correct?
Area_point_identification.gh (190.7 KB)

*Extra redundancy:

Hmm.. I am not sure of the difference between an index and a list… but this solution will give you a set of points within the domain you outlined. from there you can deconstruct it into it’s component parts and use those integers.

Only 2 points fall within .2 of your control points.