# Rebar Container - Dyano4Rebar

**URL:** <https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975>\
**Category:** Uncategorized\
**Created:** [December 5, 2016, 3:21pm UTC](https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975 "2016-12-05T15:21:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [December 5, 2016, 3:21pm UTC](https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975/1 "2016-12-05T15:21:27Z")

</div>

Hi Everyone,

I’m creating a wall-end reinforcement with the Dynamo4Rebar package. I manage to create the number of bars that I need through lines. I need to do a pack of bars so I can change the amount of bars (single or fixed number). If I use the “RebarContainer.ByCurve” node, I lose this options.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/9/f93f0ffe25c2c0426a0d79a1563dc838671fd547.png)

If I use the node “Rebar.ByCurve” from the package, I can get every single bar with this option, but if I change it to fixed number for example 3, I get the situation below:

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

Is there a way to create a group of bars that I can edit it’s parameters? Through python maybe?

Thanks in advance.

Cheers.

---

<div class="post-metadata">

**Author:** ![ali.safiaddine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ali.safiaddine/32/17048_2.png) [@ali.safiaddine](https://forum.dynamobim.com/u/ali.safiaddine)\
**Post date:** [December 5, 2016, 3:27pm UTC](https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975/2 "2016-12-05T15:27:10Z")

</div>

Hi,  
you should use the node Rebar.SetLayoutAsNumberWithSpacing from BIM4struct package

first you should create the first bar the create the rebar set using this node

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [December 5, 2016, 3:27pm UTC](https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975/3 "2016-12-05T15:27:59Z")

</div>

Thanks @ali.safiaddine for the fast reply. I’ll try this just now!.

---

<div class="post-metadata">

**Author:** ![Jorge\_Villarroel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jorge_villarroel/32/23619_2.png) [@Jorge\_Villarroel](https://forum.dynamobim.com/u/Jorge_Villarroel)\
**Post date:** [December 5, 2016, 4:35pm UTC](https://forum.dynamobim.com/t/rebar-container-dyano4rebar/7975/4 "2016-12-05T16:35:25Z")

</div>

Thanks! It worked perfectly!
