The attached .dyn works with the attached .rvt to create a list of adjacent rooms to a single room. I have failed at every attempt to do this for each room. Any help is appreciated
Where I currently have “List.FirstItem” I think I need to loop over the entire list of the “Room.CenterBoundary”…? I have tried “List.Map” but this appears to not produce an output for each, only the first list.
Thank you in advance if you can put me on the right path.
So you want to know if a room boundary edge intersects with itself or the first boundary edge from any other room? I think your question (which only you can answer) should be why you would want to do something so aimless in the first place.
It is unfortuntately. The best way to solve your problem is to think about how you would do it without Dynamo - understand your own decision making process to establish adjacencies, then abstract it and think about how you could codify it into a sequence of instructions (computational thinking) which can be created in Dynamo (via nodes).
Try 'geometry intersect" with lacing xxx, then remove ‘list first item’ and connect ‘room.centerboundary’ directly twice with geometry intersect. I am not sure but the next thing i would do is set '‘list contains’ to lacing longest.
Good luck