# Join solids in Revit API

**URL:** <https://forum.dynamobim.com/t/join-solids-in-revit-api/22816>\
**Category:** Developers\
**Created:** [June 14, 2018, 9:24am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816 "2018-06-14T09:24:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [June 14, 2018, 9:24am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/1 "2018-06-14T09:24:48Z")

</div>

Hi community,

I want to join solids with the revit API

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/1/c172809e0bbc923163fe6468c91ab60c24e8eeae.png)  
I dont know which method is the right one. JoinGeometry?  
It should work out as the solid.ByUnion in Dynamo nodes, but with the revit API, I dont want to use the solid.ByUnion cause the conversions and to use Dynamo nodes consume a lot of time (I tried out already and the code get really slow)

thanks in advance

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [June 14, 2018, 10:08am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/2 "2018-06-14T10:08:56Z")

</div>

Hi @igpema  
JoinGeometry expects Revit elements, not geometries.

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

---

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [June 14, 2018, 10:23am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/3 "2018-06-14T10:23:40Z")

</div>

yes Mostafa, I got this error in python, but is there a way to join solids with the revit API?  
thanks

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [June 14, 2018, 10:25am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/4 "2018-06-14T10:25:22Z")

</div>

Not really sure I understand what you want to do. Join geometries in Dynamo? Or in Revit?

---

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [June 14, 2018, 11:05am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/5 "2018-06-14T11:05:40Z")

</div>

hi Mostafa,

i want to join solids in Dynamo with the revit API and not with the Dynamo Nodes solid.ByUnion. The solids are for a clash detection. If there is not a method for that in the API, i will find other way 🙂

thanks in advance

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [June 14, 2018, 11:35am UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/6 "2018-06-14T11:35:50Z")

</div>

Hi,

Does this move you on at all?

[http://www.revitapidocs.com/2018/17966565-84c8-9dc3-dc0d-62cb6c896624.htm](http://www.revitapidocs.com/2018/17966565-84c8-9dc3-dc0d-62cb6c896624.htm)

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![igpema](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@igpema](https://forum.dynamobim.com/u/igpema)\
**Post date:** [June 14, 2018, 4:25pm UTC](https://forum.dynamobim.com/t/join-solids-in-revit-api/22816/7 "2018-06-14T16:25:33Z")

</div>

yes thanks Mark, i try out tomorrow, it should work out actually 🙂
