Kanghoon
(Kanghoon)
November 10, 2022, 9:56am
1
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:
In addition to temporary text panels and the Point List component, these are the tools I use to visualize and understand data trees of geometry:
[data_tree_tools_2022_Nov3a]
data_tree_tools_2022_Nov3a.gh (46.6 KB)
Recently I added ‘A’ (alpha) inputs and ‘C’ (color) outputs to ColorB and ColorJ but I rarely need them or use them.
They tend to interfere with each other so I often use them one at a time.
2 Likes
inno
November 10, 2022, 12:27pm
3
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
1 Like
Especially because the output of Series is only a single value: 0.
1 Like
Kanghoon
(Kanghoon)
November 10, 2022, 12:44pm
5
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?
inno
November 10, 2022, 1:02pm
6
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
Kanghoon
(Kanghoon)
November 10, 2022, 1:28pm
8
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?
Kanghoon
(Kanghoon)
November 10, 2022, 2:49pm
10
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