# Access Revit's intersection checker in the API?

**URL:** <https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298>\
**Category:** Developers\
**Tags:** revit, dynamo, api\
**Created:** [February 21, 2018, 5:23pm UTC](https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298 "2018-02-21T17:23:59Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![jeff.mercado](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jeff.mercado](https://forum.dynamobim.com/u/jeff.mercado)\
**Post date:** [July 23, 2018, 5:29am UTC](https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298/21 "2018-07-23T05:29:55Z")

</div>

Dear Thomas,

I cant figure out how to direct message you here in the forum.  
But good news is that bimorph is actually working fine with Revit 2015 and Dynamo 1.2.1.

Please take a look at my improved workflow using Bimorph and Element.Location+ from Clockwork.

 ![Element%20Intersect%20Element%20(Bimorph)%20Improved%20clash%20point%20workflow](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/ff404e28211acb42d079db81c972de4b52f2426e.png)

I combined my previous works for Element vs Element using solids or geometry bruteforce only with your efficient workflow.

I still have a lot of scripts and ideas for continuation or manipulation of the points and comments but maybe i will post it as a separate thread if it is complete.

Right now, I still have not yet pushed this workflow to the limit or get it’s efficiency. If you can see some improvements please kindly critique and comment.

Test Update:  
Input: 600 Ducts vs (701 CTrays + 590 CT Fittings)

Output: 598 Points from Curves of CTrays +  
301Points from Solids of CT Fittings  
1252 Unique elements tagged with Comment=Clash

Time: 7 minutes and 10 seconds.

Note for improvement: Indeces of Points and the corresponding element vs element were lost.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/650e35be485c7be5fc83521f9891d9ecb7d8fc04.png)

---

<div class="post-metadata">

**Author:** ![jeff.mercado](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jeff.mercado](https://forum.dynamobim.com/u/jeff.mercado)\
**Post date:** [July 23, 2018, 9:46am UTC](https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298/22 "2018-07-23T09:46:27Z")

</div>

Update. Properly indexing the different type of clash method such as curves and points lead to a significant efficiency.  
I updated the script above with adding filterbyboolmask to preserve and separate the two conditions.

Trial 2:

Input: 600 Ducts vs (701 CTrays + 590 CT Fittings)

Output: 598 Points from Curves of CTrays +  
301Points from Solids of CT Fittings  
1252 Unique elements tagged with Comment=Clash

Time: 1 minute and 20 seconds. Improved by 5.6x.

---

<div class="post-metadata">

**Author:** ![sergio\_ramirezr](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sergio\_ramirezr](https://forum.dynamobim.com/u/sergio_ramirezr)\
**Post date:** [May 21, 2019, 8:27pm UTC](https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298/23 "2019-05-21T20:27:46Z")

</div>

Hi @jeff.mercado can you show the updated workflow? Really interesting. Thanks

[Previous page](https://forum.dynamobim.com/t/access-revits-intersection-checker-in-the-api/19298.md?page=1)
