There have been plenty of posts about renumbering rooms by level, or using a spline drawn through, and many other options.
I was taking a different approach. What I want to do is select a “Base Room” and from that room find the next closest room and the next closest room etc… What I have so far is the ability to sort rooms by distance to the base room, which gets me close, but what i want dynamo to do is cycle through a list of rooms and always find the next closest room to the previous room, starting with a base room.
Any thoughts on how to cycle through the list of rooms and find the next closest room in a list of 100 rooms?
I am using quite a few of custom packages, Data-Shapes, Rhythm & DanEDU, Revit 2018.3 & Dynamo 2.1