Mapping multiple family types to sets of points


#1

I’m trying to create a grids of family instances from a list of points and a list of family types. But I am having trouble mapping them. I would like to map each Family Type onto a corresponding sub-list of points, but my results with map only use the first 3 points (and creates one of each Type).

So the result looks like this:

But I want it to place an instance at each point, with each Type for the different set of points. Here is the end of the definition:

 

I assume that I am not using map correctly, but I’m not sure how this would be achieved. Any help would be appreciated. Thanks.


#2

 

I am too lazy to check the result ,but that should work:)


#3

I had found a different solution, though this one is simpler. Thanks! Also, I didn’t know List.Combine could be used like that… awesome.