Overlapping area of two CurveLoops (from floors)

Overlapping area of two CurveLoops (from floors)

wouter.hilhorst
Explorer Explorer
215 Views
1 Reply
Message 1 of 2

Overlapping area of two CurveLoops (from floors)

wouter.hilhorst
Explorer
Explorer

Hi,

I`m working with the revit api in C#. I want to find the intersection between two closed CurveLoops in the XY plane. This intersection should be a third Curveloop in the same plane.

With this I want to find the overlapping surface of the surfaces formed by the lineloops before I use these lineloops to place elements (floors) in Revit. I found the Intersect Method, but this only seems to work on curves.

Is there a way to do this with the revit api?

Wouter

 

0 Likes
216 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Yes. The Revit API does not provide any support for 2D Boolean operations between curve loops, so you will need to make use of an additional third-party library for that, or implement your own algorithm. The Building Coder shares some suggestions here:

     

  

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