Hello, first time posting and very new to Dynamo and Python. I’m trying to push room data in one phase to rooms in another phase. I’ve probably over-complicated this so if I’m missing something obvious please let me know!
I uploaded the file in case you want to trace my logic, but here is the summary: I gathered the rooms, used a python script I found here to separate the rooms by phase, then I found the room boundaries, turned those into polycurves, extruded those as solids (to varying heights so I can visualize the phases a bit), and used the Solid.Difference node to look at where they overlap. I then compared the overlapping solids to the room placement points assuming that if the solids overlap and the point overlaps the solid they are the same room.
One of the issues I’m having is comparing two lists of points. Using Geometry.IsAlmostEqualTo got me part of the way there, but there are still some that are the same but not coming up as true. I also tried adding a rounding node.
Another issue is where I’m using the Room.AtPoint node from the Archi-lab package to turn the points I’m comparing back into rooms. I don’t know how to tell it to only pull from one phase.
Any help / advise / criticism is welcome. Thanks (58.2 KB)