Forum

How divide Outputs?

Sry for stupid question, but how can I divide the outputs with values in a specified interval? as an example I have 200 outputs, and I want to take from them only those which are in the range from 50 to 150.

Never sure if this is the absolute best solution, but you can use an i node to get a spread of slice indices you want, and then use that in a GetSlice node to get a spread of the slices you’re interested in.

SpreadGetSlice.v4p (2.8 kB)

thank you, teem!

or you can use GetSpread with start index of 50 and count of 100, that is more CPU efficient than the GetSlice node…

Yes, certainly this is the better performing solution, always a learning process.

Thanks guys!