Grasshopper

algorithmic modeling for Rhino

Is there a way to split a list into two on the basis of a provided integer... list items greater than the integer separate from the ones smaller??

Views: 1276

Replies to This Discussion

Do you mean the Split List component?

Split list component splits the list on the basis of nth value ... i wanted to check each item's value if it was greater or lesser than the provided value.. i did it through Dispatch Component... i created a function to check if the items' value within the list are greater than the value i provided, to create a true- false pattern... then used it to Dispatch the list into two sets... its working fine

 

Now i am wondering how can i add those items within a sublist? 

I don't understand Khizer, please upload the definition.
Here are the files
Attachments:
no rars please (try downloading your attachment: doesn't work. Ning seems to have a problem with rars), can you make a zip?
Here you go, ignore the empty buttons as its a work in progress... i think i have solved it , but just for being sure have a look at it, if there is margin for improvement... do let me know...
Attachments:
I think what you want to do is weave, right?
Attachments:
Nop, just wanted to add all items within one list, was able to do it with Mass Addition Component

You could cull all values less than X. Then cull all values with the inverted culling pattern.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Got It, Thanks...

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