# Remove null result

**URL:** <https://forum.dynamobim.com/t/remove-null-result/6647>\
**Category:** Revit\
**Created:** [October 10, 2016, 10:36am UTC](https://forum.dynamobim.com/t/remove-null-result/6647 "2016-10-10T10:36:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![de\_tarek2](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@de\_tarek2](https://forum.dynamobim.com/u/de_tarek2)\
**Post date:** [October 10, 2016, 10:36am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/1 "2016-10-10T10:36:57Z")

</div>

@Mostafa_El_Ayoubi @Kulkul  
I’m sorry man to annoyed you again , I need your help I tried so much time to solve it it’s not working, the same topic renumbers the door can you please check this photo

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/3/3acc3f6bcd80c84f14fed0a7f33d1e6174ce7c0d.png)  
I have three question  
1-how I can remove “No to room” from the list I think it makes Null  
2-Can I create list for the doors swing to the same room ,may if that possible the door will have the proper name  
2-I used dyn script to remove all the value of “Mark” parameter then when I used another script to set value for “Mark” parameter still empty , I can remove the effect of every script I used in one Revit file (don’t know if that correct or not)  
Finally can you please take a look at this script, it’s not working probably all the previous issue(Question) regarding this script  
[DOORWITHROOMTARIQLAST ONE.dyn](https://forum.dynamobim.com/uploads/short-url/9PlNZ5r26JTLQ1o18g2vSlChuw0.dyn) (9.3 KB)

---

<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:** [October 10, 2016, 10:48am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/2 "2016-10-10T10:48:53Z")

</div>

Use List.Clean node set false for preserveIndices.

---

<div class="post-metadata">

**Author:** ![de\_tarek2](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@de\_tarek2](https://forum.dynamobim.com/u/de_tarek2)\
**Post date:** [October 10, 2016, 11:23am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/4 "2016-10-10T11:23:10Z")

</div>

Thanks man i did it

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

---

<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:** [October 10, 2016, 11:34am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/5 "2016-10-10T11:34:04Z")

</div>

No you need to use List.Clean node after Get.Parameter node.

---

<div class="post-metadata">

**Author:** ![de\_tarek2](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@de\_tarek2](https://forum.dynamobim.com/u/de_tarek2)\
**Post date:** [October 10, 2016, 11:39am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/6 "2016-10-10T11:39:18Z")

</div>

perfect this clean one warning but still this

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

---

<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:** [October 10, 2016, 11:40am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/7 "2016-10-10T11:40:52Z")

</div>

Make sure you match your list of values and list of elements.Check the count for both.

---

<div class="post-metadata">

**Author:** ![de\_tarek2](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@de\_tarek2](https://forum.dynamobim.com/u/de_tarek2)\
**Post date:** [October 10, 2016, 11:46am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/8 "2016-10-10T11:46:00Z")

</div>

understand the list of elements refer to doors which are the count of them more than the count of the list of values(ToRoom)  
this was my 2nd question , I think I need to create a list of the doors depending on the room where the doors swing to

---

<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:** [October 10, 2016, 11:48am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/9 "2016-10-10T11:48:32Z")

</div>

Can you show screenshot count of elements and count of values.

---

<div class="post-metadata">

**Author:** ![de\_tarek2](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@de\_tarek2](https://forum.dynamobim.com/u/de_tarek2)\
**Post date:** [October 10, 2016, 11:53am UTC](https://forum.dynamobim.com/t/remove-null-result/6647/10 "2016-10-10T11:53:26Z")

</div>

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