Determining adjacent wall using Revit API

470 views Asked by At

I have couple of walls in a project. I want to find out which walls are adjacent to each other.

1

There are 1 answers

1
Jeremy Tammik On BEST ANSWER

If the adjacent walls all meet at their respective endpoints, the LocationCurve.ElementsAtJoin property will give you exactly what you are asking for.

Unfortunately, it will not help in the case where the adjacent walls intersect each another in non-endpoints, e.g., at their midpoints or somewhere else along their location curves except the endpoints.