One Node return different answer

Hello friend, I run an dynamo script with revit 2020 and revit 2024. In part of script, on case return true answer (revit 2020) but in another one (revit 2024) it doesn’t work true.. (actually I want return indexes that value of them is equal ) .. thanks for your helps.


Points are not comparible. You will sometimes get alignment, sometimes not, depending on how the floating point values work out.

You will want to manage your graph differently as a result (perhaps VERY differently).

that is true, thanks,I can solve it, first extraxt x,y,z, round them, create new point, and its done…

1 Like

You could use a Geometry.IsAlmostEqualTo node which uses less than 10⁻⁶ as equal