# Copy Rebar column to column

**URL:** <https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527>\
**Category:** Revit\
**Tags:** revit, dynamoforrebar\
**Created:** [November 15, 2017, 5:38pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527 "2017-11-15T17:38:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamess166](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jamess166](https://forum.dynamobim.com/u/jamess166)\
**Post date:** [November 15, 2017, 5:38pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/1 "2017-11-15T17:38:41Z")

</div>

I am trying to copy the rebar of a column, I have created a script, but I also copy the host element (column), I have tried to add a node to delete the old one, but the new column I have to change the joins again, some solution. Thank you

 ![Captura](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/b/6b9fb5b4663982ef2dfca387fd05bb729a02754e.PNG)

---

<div class="post-metadata">

**Author:** ![MJB-online](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mjb-online/32/24884_2.png) [@MJB-online](https://forum.dynamobim.com/u/MJB-online)\
**Post date:** [November 16, 2017, 3:58pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/2 "2017-11-16T15:58:43Z")

</div>

Hi @jamess166,

I think your workflow is based upon the below topic.  
But have you read the post#13 ?

[https://forum.dynamobim.com/t/copy-rebar-from-one-element-to-another/7431/13](https://forum.dynamobim.com/t/copy-rebar-from-one-element-to-another/7431/13)

Kind regards,  
Mark

---

<div class="post-metadata">

**Author:** ![jamess166](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jamess166](https://forum.dynamobim.com/u/jamess166)\
**Post date:** [November 16, 2017, 4:18pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/3 "2017-11-16T16:18:12Z")

</div>

hello, if I have also tried but it does not work for the columns, I have tried to update it but I do not understand much the python code, that is why I created this post since in which you mention I made others consult with respect to beams.

---

<div class="post-metadata">

**Author:** ![MJB-online](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mjb-online/32/24884_2.png) [@MJB-online](https://forum.dynamobim.com/u/MJB-online)\
**Post date:** [November 16, 2017, 5:56pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/4 "2017-11-16T17:56:55Z")

</div>

Can you post your .dyn and .rvt (stripped down if you like) file, so i can test/reproduce your results ?  
If you can’t upload files yet, than maybe you can share them via Dropbox.

Kind regards,  
Mark

---

<div class="post-metadata">

**Author:** ![Tom\_Kunsman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tom_kunsman/32/133796_2.png) [@Tom\_Kunsman](https://forum.dynamobim.com/u/Tom_Kunsman)\
**Post date:** [November 16, 2017, 6:45pm UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/5 "2017-11-16T18:45:17Z")

</div>

> [@jamess166](#):
>
> hello, if I have also tried but it does not work for the columns, I have tried to update it but I do not understand much the python code, that is why I created this post since in which you mention I made others consult with respect to beams.

please try and include all your previous work and links - this will only help others know what you have tried and where you are having problems 🙂

---

<div class="post-metadata">

**Author:** ![jamess166](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jamess166](https://forum.dynamobim.com/u/jamess166)\
**Post date:** [November 17, 2017, 2:59am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/6 "2017-11-17T02:59:13Z")

</div>

Thanks,  
[QC-Rebar-Copy Columna.dyn](https://forum.dynamobim.com/uploads/short-url/9IuGwHW8ZBraRyqP5lhDK5vdJPh.dyn) (8.9 KB)

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [March 14, 2022, 9:03am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/7 "2022-03-14T09:03:49Z")

</div>

Hello James, I don’t know if you can answer or remember but here in this script do you know how to delete the duplicate column ? thanks a lot

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [March 14, 2022, 10:54am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/8 "2022-03-14T10:54:06Z")

</div>

![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/48ea761d88d17ef4ff5c959792c355d6529f9e24.png)

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [March 14, 2022, 11:07am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/9 "2022-03-14T11:07:33Z")

</div>

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

 ![Capture1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/9/395df604272645a0637ef38eda192a5c17d007d9.png)  
 ![Working_2022-03-14_01-07-28](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/a/eac58bc19bfd8eb49a07464211e797d4263c0662.png)  
[Working.dyn](https://forum.dynamobim.com/uploads/short-url/1yQsSSvD8MmlInrIZDMqbcjCCbP.dyn) (14.4 KB)  
Thanks for the help engineer Ahmad I really appreciate it , the thing is that I am using this script to transfer/copy rebars from one column to another , but it is also copying the column .  
When I used the script you provided me everything was deleted  
Do you know how can this problem be solved

---

<div class="post-metadata">

**Author:** ![ingenieroahmad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ingenieroahmad/32/72992_2.png) [@ingenieroahmad](https://forum.dynamobim.com/u/ingenieroahmad)\
**Post date:** [March 14, 2022, 11:50am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/10 "2022-03-14T11:50:06Z")

</div>

This script to delete any column with the same type even if duplicated in the same place or in any other place.

If you need to remove duplication in the same place only you have to add filter rule with element location if they have the same location to prune the duplication.

---

<div class="post-metadata">

**Author:** ![volkan.isik](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/volkan.isik/32/134061_2.png) [@volkan.isik](https://forum.dynamobim.com/u/volkan.isik)\
**Post date:** [March 16, 2022, 7:38am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/11 "2022-03-16T07:38:55Z")

</div>

Hi guys,  
@ahmadkhalaf7892 you just want to copy rebar, is this helpful for you?

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

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

---

<div class="post-metadata">

**Author:** ![ahmadkhalaf7892](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ahmadkhalaf7892/32/131910_2.png) [@ahmadkhalaf7892](https://forum.dynamobim.com/u/ahmadkhalaf7892)\
**Post date:** [March 16, 2022, 7:45am UTC](https://forum.dynamobim.com/t/copy-rebar-column-to-column/16527/12 "2022-03-16T07:45:41Z")

</div>

> <https://github.com/eibre/EiBreRebarUtils/blob/2022/EiBreRebarUtils/CopyRebar.cs>

Hi Volkan . Thanks a lot for your help . this dynamo script works but it also copies The coloumn we would have two columns  
Einar Raknes designed a perfect Add in for revit it is provided in the link in case anyone later meeded it

> **[GitHub - eibre/EiBreRebarUtils: A collection of small tools for faster...](https://github.com/eibre/EiBreRebarUtils)**
>
> A collection of small tools for faster production in Autodesk Revit. - GitHub - eibre/EiBreRebarUtils: A collection of small tools for faster production in Autodesk Revit.

Again it was designed By Einar\_Raknes  
all credits to him
