Hi all
I’m struggling to put my mind together on a way to identify and correlate the lots and the buildings on top. The complexity being that some lots have more than 1 buildings within, some buildings spans across multiple lots, and in the example, there is an instance where 2 buildings spans across 4 lots.
I envision the end result to be: While maintaining the first loci (which correlates back to something else in the project), have 1 data stream where the 2nd loci is the individual buildings and the item being the building curves, then a second data stream being the building curve’s corresponding lot/s, meaning there will be duplicates between branches (multiple buildings sharing 1 lot), and sometimes multiple items in the same branch(building spanning across multiple lots).
I tried dividing the building curves into points, then attempted to find relationship using point in curve, and see if a lot has more than a set amount of points, but that didn’t go anywhere.
Quick question is, is it too specific to script? (I’ve only extracted 1/50 of the information)
As a bit of context, the end game is to compile their lot area with the building curves(footprints) as well as FSR to create building massing.
Example.gh (14.6 KB)
Much appreciated.
Quick update: I also tried dispatching the curves according the results of points in curve, and identifying the index of the lot curve it is in, but don’t know where to do from here. The logic is to identify if a building curve has more than 5 points within a lot curve, then it’ll indicate that it belongs to that lot.
Example2.gh (20.4 KB)