Grasshopper

algorithmic modeling for Rhino

hi everybody,

as the title reads i have problems with replacing items in a list with brep references, the situation is as follows:

 

i get a list from the index output coming from the inside Multiple node.

this list contains a certain number of distinct integers, like -1, 0-20

 

0-20 correspond to 21 different Brep references

 

now i need to create a list which replaces each distinct integer with it's corresponding referenced brep (the breps a referenced in an intentional order);

 

however i figured that replace set does not work on this kind of data type... i have already done the same successfully with ref.points but right now i just don't see how i can get something like this to work with a collection of breps (istead of Z):

 

 

for the setup i am creating it is crucial to obtain a list of breps which corresponds to a list of points in order to get the matching pairs of point>brep to feed into a closest point node.

 

hope this makes sense,

maybe someone can point me in the right direction!

 

cheers,

daniel

 

 

 

Views: 624

Replies to This Discussion

List Item:

thnx!

i get it now :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service