Detecting 2D overlap in views.

Detecting 2D overlap in views.

sahin.ikbal
Advocate Advocate
699 Views
1 Reply
Message 1 of 2

Detecting 2D overlap in views.

sahin.ikbal
Advocate
Advocate

There are ways I can find out if clashes exists between two Revit elements but,

Is there any way To detecting overlaps or clashes in particular views, in 2D form ?

 

As in below view ducts are overlapping with each other but actually they are not.
I want to detect this 2d overlap.

 

2d.png3d.png
@RPTHOMAS108 @jeremytammik 

0 Likes
Accepted solutions (1)
700 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni
Accepted solution

That is actually pretty easy. The easiest and most effective solution will probably require use an external 2D Boolean operations library. Simply project the solid geometry of the elements of interest vertically onto the XY plane, determine their 2D projected polygons, and perform a 2D Boolean intersection operation between those. The Building Coder has implemented several samples implementing the 2D projection and making use of such libraries:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open