Grasshopper

algorithmic modeling for Rhino

Hi All!

My problem is very simple, but I cannot find the component that can help me.

I have a list of false and true integers, and I simply want to count how many True accorances happened, like the countif formula in excel.

Many thanks in advance for the help!

Elly

Views: 1180

Replies to This Discussion

Use Mass Addition component. True is 1 and False is 0. If you add up all the Boolean values together you'll get what you want.

Thanks Mostapha!

Ah, my issue was my data being in integers. Thank you very much!

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