Grasshopper

algorithmic modeling for Rhino

I have list of boolean data.

For example, {True,True, False, False, False, True}

I know I could dispatch them.

I dispatch the false list and did something to make them true, but how can I put them back in same order later? 

How can I select false index and use it to put them back in same order?

In this case, false's index would be (0:2),(0:3),(0:4)

And result would be {True,True,True,True,True,True}

 

Thanks!

Views: 1951

Replies to This Discussion

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