# Coping Joints using Dynamo

**URL:** <https://forum.dynamobim.com/t/coping-joints-using-dynamo/641>\
**Category:** Packages\
**Created:** [October 15, 2014, 5:53pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641 "2014-10-15T17:53:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@Danny\_Nguyen](https://forum.dynamobim.com/u/Danny_Nguyen)\
**Post date:** [October 15, 2014, 5:53pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/1 "2014-10-15T17:53:59Z")

</div>

Hi All,

After generating Structural Framing families using Dynamo, is there a way to join the connecting beams using nodes in Dynamo? I want to show the joints in Revit, but I don’t want to manually assign it, because on a larger scale there will be several hundred joints.

![C04](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/1X/cecedc1e3818ea3b0d83d91ffcf2c17bcaf52772.png)

---

<div class="post-metadata">

**Author:** ![Matt\_Jezyk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/matt_jezyk/32/11124_2.png) [@Matt\_Jezyk](https://forum.dynamobim.com/u/Matt_Jezyk)\
**Post date:** [November 17, 2014, 7:42pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/2 "2014-11-17T19:42:53Z")

</div>

Hi Danny,

Nice speaking today. I’m actually surprised this does not exist yet in Dynamo as a node or in the Package Manager. Check inside some of @andydandy’s nodes

Here is the Revit API, it should be pretty easy to access these via Python or DS:

[http://revitapisearch.com/html/854c88ca-9bed-7997-3326-dcc53c6335c0.htm](http://revitapisearch.com/html/854c88ca-9bed-7997-3326-dcc53c6335c0.htm)

&nbsp;

-matt

---

<div class="post-metadata">

**Author:** ![Matt\_Jezyk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/matt_jezyk/32/11124_2.png) [@Matt\_Jezyk](https://forum.dynamobim.com/u/Matt_Jezyk)\
**Post date:** [November 17, 2014, 9:19pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/3 "2014-11-17T21:19:20Z")

</div>

Hi Danny,

&nbsp;

here is a quick Python script to start using the

```
JoinGeometryUtils
```

&nbsp;

```
importclr
 clr.AddReference("ProtoGeometry")fromAutodesk.DesignScript.Geometryimport*# Import RevitAPIclr.AddReference("RevitAPI")importAutodesk# Import DocumentManager and TransactionManagerclr.AddReference("RevitServices")importRevitServicesfromRevitServices.PersistenceimportDocumentManagerfromRevitServices.TransactionsimportTransactionManager# Import ToDSType(bool) extension methodclr.AddReference("RevitNodes")importRevit
 clr.ImportExtensions(Revit.Elements)
 
 walls =UnwrapElement(IN[0])
 
 wall = []
 foundList = []
 doc = DocumentManager.Instance.CurrentDBDocument
 uiapp = DocumentManager.Instance.CurrentUIApplication
 app = uiapp.Application
 TransactionManager.Instance.EnsureInTransaction(doc)foriinrange(0,len(walls)):
 
   wall = walls[i]#search for existing joined elementselList = Autodesk.Revit.DB.JoinGeometryUtils.GetJoinedElements(doc, wall)forelemIdinelList:
     foundList.append(elemId)
   
 OUT = foundList
```

---

<div class="post-metadata">

**Author:** ![Matt\_Jezyk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/matt_jezyk/32/11124_2.png) [@Matt\_Jezyk](https://forum.dynamobim.com/u/Matt_Jezyk)\
**Post date:** [November 17, 2014, 10:07pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/4 "2014-11-17T22:07:29Z")

</div>

attached are python examples of all methods in JoinGeometryUtils

&nbsp;

[column joined to wall](http://dynamobim.com/wp-content/uploads/forum-assets/mattjezyk/11/18/column-joined-to-wall.dyn) [colum joined to wall](http://dynamobim.com/wp-content/uploads/forum-assets/mattjezyk/11/18/colum-joined-to-wall.rvt)

| | Name | Description |
| --- | --- | --- |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [AreElementsJoined](http://revitapisearch.com/html/69178304-668a-bcbd-b459-33de2146942d.htm) | 
Determines whether two elements are joined.
 |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [GetJoinedElements](http://revitapisearch.com/html/3a1b0e1e-e7f2-cb08-9983-c36137cac754.htm) | 
Returns all elements joined to given element.
 |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [IsCuttingElementInJoin](http://revitapisearch.com/html/917ea88b-27cb-e3b1-391f-ecd061975595.htm) | 
Determines whether the first of two joined elements is cutting the second element.
 |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [JoinGeometry](http://revitapisearch.com/html/2f223fde-0e7c-fce5-e68f-3c1ca6a6b6c1.htm) | 
Creates clean joins between two elements that share a common face.
 |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [SwitchJoinOrder](http://revitapisearch.com/html/447f0dd2-40cf-4e1a-711a-44ad21f825b9.htm) | 
Reverses the order in which two elements are joined.
 |
| ![Public method](http://revitapisearch.com/icons/pubmethod.gif "Public method") ![Static member](http://revitapisearch.com/icons/static.gif "Static member") | [UnjoinGeometry](http://revitapisearch.com/html/929c26e0-4613-ebad-5fe0-76b66f4ae087.htm) | 
Removes a join between two elements.
 |

http://revitapisearch.com/html/3eaaf4f5-70b7-f7fb-63a2-0d95bab25deb.htm

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [November 17, 2014, 11:34pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/5 "2014-11-17T23:34:50Z")

</div>

Correct me if I’m wrong but isn’t the joining tool( and thus the related API calls) used only for RC elements? While steel members use the coping tool, which from what I can tell does not have an API equivalent.

---

<div class="post-metadata">

**Author:** ![Andreas\_Dieckmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andreas_dieckmann/32/365_2.png) [@Andreas\_Dieckmann](https://forum.dynamobim.com/u/Andreas_Dieckmann)\
**Post date:** [November 18, 2014, 1:35am UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/6 "2014-11-18T01:35:05Z")

</div>

Dimitar, you are correct in that the joing tool isn’t working for structural steel members. Fortunately enough, you are wrong about the availability of the coping tool in the API. 😉

I just uploaded version 0.74.1 of package Clockwork to the package manager - among other new nodes it contains three new coping related nodes: FamilyInstance.CopingElements, FamilyInstance.AddCoping and FamilyInstance.RemoveCoping. One of them was on my todo list for the next few weeks in any case, so no big deal. Enjoy!

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [November 18, 2014, 2:04am UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/7 "2014-11-18T02:04:26Z")

</div>

Great work as usual, [Andreas](http://dynamobim.com/forums/users/andreasdieckmann/ "View Andreas Dieckmann's profile")!

I’ll be sure to try your nodes later this week.

---

<div class="post-metadata">

**Author:** ![Danny\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@Danny\_Nguyen](https://forum.dynamobim.com/u/Danny_Nguyen)\
**Post date:** [November 26, 2014, 8:52pm UTC](https://forum.dynamobim.com/t/coping-joints-using-dynamo/641/8 "2014-11-26T20:52:47Z")

</div>

Thanks Matt, sorry about the late reply been busy getting the Dynamo script setup for the project we were discussing. I’ll be sure to give those scripts a try.

Unfortunately I can’t test the latest version of Dynamo yet due to internal testing requirements by the office’s IT.
