Grasshopper

algorithmic modeling for Rhino

Hello there,

So I have 2 lists as you can see in this attacched image.

1st list is 

0

0

1

2

2

.

.

and so on.

and the second list has a list of varied points.

So, the items in 1st list vary from 0 to 3 max. 

Is there a way, that i can sort the items in my second list such that all the items which are 0 in 1st list are sorted differently. and so on.

so at the end i need 4 lists. 0,1,2,3. 

It would be great even if you direct me towards the right component.

Thanks a ton.

Views: 3226

Attachments:

Replies to This Discussion

You'll want to use either [Sift] or [Stream Gate]. Sift is recommended if you want to at any point recombine the data in the same order.

Awesome Awesome Awesome.....Thank you so much David.

Actually i had tried with sift earlier, but I wasn't sure it would work. thanks for the confidence !

Cheers!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service