algorithmic modeling for Rhino
I am trying to split a list of integers into "runs", basically consecutive recurrences of the same integer. For example, 2,2,0,0,2,2,2,2 would be spit into three lists, (2,2) (0,0), (2,2,2,2). I want to be able to measure the length of each of these lists. I hope this makes sense.
Thanks,
David
Tags:
Hi,
You can use the "sets"
http://www.grasshopper3d.com/forum/topics/new-set-components-sniffi...
Thank you, that is genius.
David
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by