How do i create an index that determines a range value?

Hi,

is there a way to create an index using the list item component to select a range of points? I manage to do it with series but i dont like that solution. How do i create an index that determines a range value? In the GH file in the lower Box where HERE!!! is written is an simple example

thank you

Create surface bumps based on surface points.gh (26.0 KB)

you should really upload a minimal GH file with ONLY the relevant components AND internalized geometry.

this doesn’t really make sense logically. you need at least two numbers to determine where the range starts and end, as well as a function to step through that range

unfortunately, that’s the simplest option

you could make your own python/c# script if you want

#python
#assuming x is the lower bound and y is the upper bound, and are both integers
a = []
for i in range (x, y+1):
    a.append(i)
1 Like

Your GH file has no internalized geometry.

1 Like

Ok, maybe this way
Example.gh (9.0 KB)

Example_ranges.gh (11.7 KB)
You’ll find the aforementioned python script

as well as a method of selecting a range of uv points by defining u and v ranges separately

1 Like

Thank you for sharing your knowledge!

1 Like