# Bimorph Element.IntersectsElement node error

**URL:** <https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742>\
**Category:** Packages\
**Created:** [July 15, 2018, 9:51am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742 "2018-07-15T09:51:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 15, 2018, 9:51am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/1 "2018-07-15T09:51:27Z")

</div>

Has anyone run this file yet? I have this problem. Are there anyone please advise me ? ![Problem](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/1/8162f8646dbd6c5f69f1e0d8462f88cdbe34b6ad.JPG)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [July 15, 2018, 10:23am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/2 "2018-07-15T10:23:49Z")

</div>

Hi @TonyNguyen

One of your inputs are not correct. It requires LinkElement type elements see below example:

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/2/520f87132a4585fd1bae96265241a14091537d5c.jpg)

And here is how it works:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/0/00d2f78c29fe61e90d045fb91715c095319c5106.png)

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 15, 2018, 10:28am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/3 "2018-07-15T10:28:30Z")

</div>

Thank you for your reply. But I still wanna use the way @Mohammad_Nawar did  
Or are there any way to select all the categories from linked model ?

 ![Problem](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/3/d36abc13b59e2219a7053c85ab8af59fc47fc645.JPG)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 15, 2018, 11:06am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/4 "2018-07-15T11:06:13Z")

</div>

Hey @TonyNguyen

Check the link below and follow the graph, if you need the script just drop me an email. you just missed one node. check the picture below.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0ff1230dd21d8f86377cb6857fda5caeab5e75d8.jpg)

> **[Best practice for Clash Detection (Revit/Navis/Dynamo)](https://www.bim-hex.com/single-post/2018/04/09/Best-practice-for-Clash-Detection)**
>
> Clash Detection:In this case we will go through the best practice for clash detection procedure so we find the best way to build a model that's free of clashes

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 15, 2018, 1:27pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/5 "2018-07-15T13:27:03Z")

</div>

thank you @Mohammad_Nawar. I have already added Manage.RemoveNulls node as your picture but still the same warning. im gonna send you email 🙂  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/b/2b4c877f5c111d727a7f554f662715d7624755a2.png)

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [July 15, 2018, 2:15pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/6 "2018-07-15T14:15:45Z")

</div>

Please follow @Kulkul’s advice; you are inputting anonymous linked elements - the node requires LinkElement class objects. You get that exception only if you are inputting linked elements from custom scripts or packages which do not return LinkElements, hence you have to use BimorphNodes LinkElement.OfCategory node.

Read the article [here](https://bimorph.com/dynamo-bim/bimorph-nodes-v2-2-supports-holistic-linked-element-clash-detection/) and see section “Optimised For BimorphNodes Element and BoundingBox Nodes” for more details.

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 15, 2018, 2:41pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/7 "2018-07-15T14:41:20Z")

</div>

Thank you @Thomas_Mahon. Yes, if i follow @Kulkul’s advice, it works but in this case how can i collect all categories from linked model ?  
It’s not a good idea to select manually each category from linked model and combine by using List.Create node then not sure that it’s enough categories or not.

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [July 15, 2018, 4:14pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/8 "2018-07-15T16:14:50Z")

</div>

Understood, but the node only takes a list of categories, so you will need to get all categories first then input that into the node. However, collecting all categories for clash detection isn’t a good strategy since there are many categories which wont need to be/nor can be clash checked, so it might be worth reviewing your workflow and identifying which categories you need to target for this procedure.

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 15, 2018, 8:21pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/9 "2018-07-15T20:21:10Z")

</div>

@Thomas_Mahon @TonyNguyen

Thank you thomas for clarifying to be honest you created the node and for sure you know better about it and what type of elements it’s taking, actually i built this workflow as tonynguyen said to get all linked elements and apply clashed detection in the easist way, so am suggesting to share the model with us to enhance the werkflow and exclude any category could effect the workflow. So, Tonyngyen If you could share the model with us i will be happy to help and enhance the workflow.

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 16, 2018, 1:51am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/10 "2018-07-16T01:51:57Z")

</div>

Thank you so much for all of your reply and contribution @Kulkul @Thomas_Mahon @Mohammad_Nawar  
Yeah It’s good to know exactly which categories that we need for clash detection according to each disciplines (ARC-STR-MEP).  
I always use Autodesk sample file for my R&D. You could find here : C:\Program Files\Autodesk\Revit 2018\Samples  
 ![Problem](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/8/580684dd4ad0bb8b1449094cc8b8815497efe314.JPG)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 16, 2018, 6:52am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/11 "2018-07-16T06:52:06Z")

</div>

Hi @TonyNguyen

I have tested the workflow on the same models and it worked perfectly. Please check the picture below. Also i enhance the workflow i will share the script with you so you can try it directly.

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

Regards

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 16, 2018, 8:16am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/12 "2018-07-16T08:16:47Z")

</div>

Hi @Mohammad_Nawar  
Please make sure that you select MEP model

 ![Problem](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/9/c9555351128ef03a062a23470429880b6d9e0b00.JPG)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 16, 2018, 8:59am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/13 "2018-07-16T08:59:31Z")

</div>

yes i did 😀 Do you still facing issues !

---

<div class="post-metadata">

**Author:** ![TonyNguyen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tonynguyen/32/147264_2.png) [@TonyNguyen](https://forum.dynamobim.com/u/TonyNguyen)\
**Post date:** [July 16, 2018, 9:05am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/14 "2018-07-16T09:05:50Z")

</div>

yes i do ☹ . Still dont know reason why ? even with your new dynamo script

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [July 16, 2018, 9:45am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/15 "2018-07-16T09:45:59Z")

</div>

@Mohammad_Nawar no problem and thanks for your input too and great blog posts - its appreciated. It looks like you’ve got this one covered 👍, but give me a shout if there are issues emanating from the BimorphNode.

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 17, 2018, 7:17am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/16 "2018-07-17T07:17:38Z")

</div>

Hi again @TonyNguyen

You were right ! i tested the workflow again and there are some elements causing the error for that i made some tests and ended with that the curtain panels are the reason !! for that i excluded these elements and now it is working as it should be, please find the script below and send me back for the result.

[Clash Detection.dyn](https://forum.dynamobim.com/uploads/short-url/auitI1pIs6hIJx34keICBjksXmC.dyn) (35.1 KB)

@Thomas_Mahon Thank you for your replay and actually i was wondering why the curtain panels unreadable in the node ! the thing it handled other non-supported elements (Views and tags) why is not for the curtain can you please check that out. thank you for your help

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [July 17, 2018, 8:35am UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/17 "2018-07-17T08:35:49Z")

</div>

Hi @Mohammad_Nawar it’s difficult to say; can you add a graph with a simple example which reproduces the exception as it seems to be working when I test:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/c/cc2ff7c11b4d57eb2ffa0a1f139a98bc246362fc.png)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 17, 2018, 1:41pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/18 "2018-07-17T13:41:34Z")

</div>

Hi @Thomas_Mahon can you try the below workflow on the sample model from Revit.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/6/86dcbcaf1161cf5e30dcb0e2ee76fe686f13ac91.jpg)

On the revit sample project

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/7/478860ccea487e72d8f76811753c8b2ba409f5b7.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [July 17, 2018, 1:53pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/19 "2018-07-17T13:53:40Z")

</div>

@Mohammad_Nawar Looks good to me 🙂

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/3/e3c73cfa06405d8e90852b258ff7c4d85f7ed352.png)

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [July 17, 2018, 2:52pm UTC](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742/20 "2018-07-17T14:52:18Z")

</div>

That’s really weird each time i do that it’s give an error and revit shotdown i think i need to check the temp file the issue happening randomly!!!

[Next page](https://forum.dynamobim.com/t/bimorph-element-intersectselement-node-error/23742.md?page=2)
