# Not getting parameter for all items

**URL:** https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975
**Category:** Packages
**Created:** [May 12, 2016, 2:57am UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975 "2016-05-12T02:57:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Bardur\_Thomassen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bardur_thomassen/32/6395_2.png) [@Bardur\_Thomassen](https://forum.dynamobim.com/u/Bardur_Thomassen)
#### Post date: [May 12, 2016, 2:57am UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975/1 "2016-05-12T02:57:57Z")

</div>

Hi

Sorry to bother you again.

I’m getting closer.

1. problem: I can’t return the value in to the element parameter. I only get the value for the room in level 0-A

But it I use a codeBlock it is no problem.

And 2. problem: All item gets the same level(name), see “String Remover” and “Code Block”

I think problem 2 will solve problem 1.

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/f/fd66efd3c985d014fad53223ab0286065ffd75ee.png)

---

<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: [May 12, 2016, 3:15am UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975/2 "2016-05-12T03:15:12Z")

</div>

The problem is with your list structure. Try reconnecting the graph like so:

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/0999bc74590d7ea30cdbb4fa94d160e5c596e08e.png)

&nbsp;

---

<div class="post-metadata">

### Author: ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)
#### Post date: [May 12, 2016, 3:18am UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975/3 "2016-05-12T03:18:39Z")

</div>

Try changing “Lacing to Longest” for “Element.SetParameter” node. To change lacing right click on “Element.SetParameter” node. Good Luck!

&nbsp;

---

<div class="post-metadata">

### Author: ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)
#### Post date: [May 12, 2016, 3:23am UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975/4 "2016-05-12T03:23:18Z")

</div>

![20160512-2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/e/ed3b98eae0fdea0c0dc031fdfee52ce813ff75fc.png)

---

<div class="post-metadata">

### Author: ![Bardur\_Thomassen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bardur_thomassen/32/6395_2.png) [@Bardur\_Thomassen](https://forum.dynamobim.com/u/Bardur_Thomassen)
#### Post date: [May 12, 2016, 5:54pm UTC](https://forum.dynamobim.com/t/not-getting-parameter-for-all-items/3975/5 "2016-05-12T17:54:35Z")

</div>

Thank you all.

that works. BUT…

I got a new “problem”.

I got a very big building. Buildings in a building. This is what(I’m dreaming of) I want in my room number?

1: Building number (1-6)

2: Level (0-4)

3: Room number (01-99) The room number must have zero at the first. 01, 02, 03… 09, 10, 11…

4: I want to give the roomnumber according to the room bounding (x or z point)

Example room number: 6.409(6=Building, 4=Level, 09=roomnuber)

Is this possible? Or maby I’m getting my hopes to high…

I understand if it is to much or to much of a timekiller.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/4d15a85848b554d50819152a392efe523c185a87.png)
