Retrieve common geometry of all participants

Retrieve common geometry of all participants

mr.engineer.aec
Advocate Advocate
774 Views
3 Replies
Message 1 of 4

Retrieve common geometry of all participants

mr.engineer.aec
Advocate
Advocate

 Hi guys,

I have faces intersect, i want retrieve common geometry of all participants.
How can i solved this issue ?

New Bitmap Image.jpg
Thank in advanced.

0 Likes
Accepted solutions (1)
775 Views
3 Replies
Replies (3)
Message 2 of 4

Yien_Chao
Advisor
Advisor

Maybe using this function https://www.revitapidocs.com/2020/eb8735d7-28fc-379d-9de9-1e02326851f5.htm

 

If the element is inside 2 bounding boxes then its common.

0 Likes
Message 3 of 4

jeremytammik
Autodesk
Autodesk
Accepted solution

To me, it sounds as if you are looking for a 2D Boolean intersection operation.

 

Revit does not provide this functionality.

 

However, you can easily make use of other .NET libraries implementing it and reference those in your Revit add-in.

 

I have repeatedly made use of the Clipper library for such purposes:

 

   

The last pointer highlights the most interesting and up-to-date sample using it so far, ElementOutline:

 

    



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 4 of 4

mr.engineer.aec
Advocate
Advocate

Thank @jeremytammik 

0 Likes