Grasshopper

algorithmic modeling for Rhino

lets say I have this list of information:

 

0. 0,16

1. 0,16

2. 0,24

3. 0,24

4. 0,33

5. 0,33

6. 0,33

7. 0,33

8. 0,33

9. 0,33

10. 0,45

11. 0,45

12. 0,45

13. 0,55

 

is there a way that I can count how many 0,33 are inside the list??

Views: 6878

Replies to This Discussion

Sets>Sets>MemberIndex

thanks!! this will help me a whole bunch!

I am wondering what those numbers mean on "I" (4,5,6,7,8,9)

and if its possible to search for all the numbers at the same time and get the count?

thanks again!

"I" contains the indices of all occurrences of "M" in "S". Look at the numbers in front of all "0,33" values in the first panel, they match with the numbers in the "I" parameter.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks David.

But I just realized that this wont work.

I was asking you for finding the same number in a list but what I have to do is

to select from a list, all the curves with a certain lenght.

look at image you might understand better! Please I really need to find this out is for my tesis! I will be uploading images soon!

thanks again!

No worries I got the solution here!

http://www.grasshopper3d.com/forum/topics/selecting-lines-less-than...

thanks anyways!

IS THERE A WAY OF MAKING THIS CLEANER AND SIMPLER. (AND ALSO THAT IT WORKS CASUE I AM MISSING.... FOR NO REASON..... SOME DATA, THAT WONT SHOW UP! :S)

I AM GIVING A TAG 3D TO THE CURVES WITH THE SAME LENGHT SO I CAN CONSTRUCT THIS LATER. I AM CULLING THE MAIN LIST WITH THE LENGHT VALUE THAT I WANNA TAG. BUT I HAVE TO DO THIS OVER 61 TIMES AND FOR SOME REASON SOME LINES ARE NOT GETTING CULLED THEN THEY WONT SHOW UP!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service