Hello everyone,
I'm running into some problems with the function Intersection Method. I'm using revit's energy model to find adjacencies between envelope elements. Therefore I am getting the geometry of each envelope element, passing it to faces and then running intersection between all of them. So far, so good.
The problem comes when I started to analyze the results, the function kept returning more intersections than expected, sometimes even repeated ones. This is strange as the energy model consists of good geometry. So I started to analyze the results surface by surface, and I found the culprit. For two surfaces totally separated, sometimes the function returned an adjacency. See the picture as an example in which a face from a wall and a face from a floor returned an adjacency (in blue):
I went to revitapidocs and I might have found why this happens:
"Face class => Face Methods => Intersection Method (Face)
Remarks:
This is not a general-purpose function: it only works properly for simple configurations. For other configurations, it may return an incorrect result."
Solved! Go to Solution.