Cull data at once

Hello,
I have eight data trees and eight numeric values. I want to delete the data in the order of smallest numbers. Series components are used, but i couldn’t delete data at the same time, but are deleted one by one. Is there a way to delete data according to series count number?


question.gh (19.3 KB)

For several reasons, the cull pattern created with Sort and Series doesn’t make any sense to me. If your goal is to leave out one curve area #1 ?

It’s better to just remove that curve from the InCurve ‘C’ input, like this:


cull_data_2022_Nov10a.gh (22.6 KB)

You might want to look at my data tree tools described here:

2 Likes

if you want to cull tree branches sort of like using Cull Pattern you could do something like this:


question_Re.gh (21.5 KB)

didn’t fully understand the logic behind the culling pattern generation tho :slight_smile:

1 Like

Especially because the output of Series is only a single value: 0.

1 Like

Thank you all for your help. I have some site boundaries and each land price data. Is there a way to cull the two(or 3, 4, 5, …) smallest numbers of data at the same time?

not very clear what you’re trying to get Sir…

this culls the n (slider) cheapest branches, branches are first sorted by price
the numbering you see is the original order of the branches, not the one you get after sorting them by price


question_Re_Re.gh (18.8 KB)

1 Like

You can specify a range:


cull_data_2022_Nov10b.gh (22.9 KB)

If you want the inverse, right-click the Cull ‘P’ input and click ‘Invert’.

1 Like

It must have been hard to understand because of my poor English, but thank you so much for your help. Both ways were really good. I learned a lot.

@inno’s method applied to the list of curves, without Tree Statistics.


cull_data_2022_Nov10c.gh (22.0 KB)

The answer you get depends on how you ask the question.

By the way, why the grid of small SubSrf fragments?

Thank you so much!
I’m thinking about reducing pixels in various ways.

It’s easy if you drop the grid of small surface fragments:


cull_data_2022_Nov10d.gh (17.5 KB)

1 Like