# Get Rebar Bar & Set Data by Excel

**URL:** <https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [March 9, 2018, 5:32am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836 "2018-03-09T05:32:43Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 9, 2018, 5:32am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/1 "2018-03-09T05:32:43Z")

</div>

Hi There

Can anyone guide me how to fetch ( or Get) this data to dynamo.

After fetching this i want to replace this data from another sheet of excel… I mean data will be get from excel file and will replace data fetched from this circled in red.

 ![03](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/412edd38b1010bc885c1f38728bb54c39b0b7c6f.JPG)

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [March 9, 2018, 7:29am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/2 "2018-03-09T07:29:06Z")

</div>

Do you want to change the name of these elements?

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 9, 2018, 7:29am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/3 "2018-03-09T07:29:39Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [March 9, 2018, 7:33am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/4 "2018-03-09T07:33:44Z")

</div>

I think you want to use the `Element.SetName` node from the Clockwork package.

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 9, 2018, 8:35am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/5 "2018-03-09T08:35:36Z")

</div>

Thanks…😃😃😃

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [March 9, 2018, 8:37am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/6 "2018-03-09T08:37:13Z")

</div>

You already got it working with that?

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 9, 2018, 8:39am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/7 "2018-03-09T08:39:53Z")

</div>

No,

i used first time

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 9, 2018, 8:58am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/8 "2018-03-09T08:58:18Z")

</div>

I can’t Set Parameter of Bar Diameter

Give me a Suggestion.

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

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [March 9, 2018, 9:06am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/9 "2018-03-09T09:06:19Z")

</div>

It’s a Revit issue. sometimes it’s unable to draw something due to restraints not lining up.

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [March 9, 2018, 9:08am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/10 "2018-03-09T09:08:12Z")

</div>

That also means your Dynamo code is probably doing what it’s supposed to do 😉

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [March 9, 2018, 11:23am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/11 "2018-03-09T11:23:19Z")

</div>

The bar diameter is read as feet by Revit. So if you plug in 10 in Dynamo, Revit will interpret that as 10 feet or 3048mm. This is a known issue, and will be fixed in Dynamo 1.3.3. For now you need to convert the units manually or you can use an alternative node from MEPover.

---

<div class="post-metadata">

**Author:** ![robert12546358](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robert12546358](https://forum.dynamobim.com/u/robert12546358)\
**Post date:** [March 12, 2018, 2:43am UTC](https://forum.dynamobim.com/t/get-rebar-bar-set-data-by-excel/19836/12 "2018-03-12T02:43:49Z")

</div>

Thanks  
My Problem is solve.
