# Cannot replace nulls on Values read from Revit Element

**URL:** <https://discourse.mcneel.com/t/cannot-replace-nulls-on-values-read-from-revit-element/125559>\
**Category:** Revit\
**Tags:** windows\
**Created:** [June 7, 2021, 9:18pm UTC](https://discourse.mcneel.com/t/cannot-replace-nulls-on-values-read-from-revit-element/125559 "2021-06-07T21:18:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Rickson](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rickson/32/690545_2.png) [@Rickson](https://discourse.mcneel.com/u/Rickson)\
**Post date:** [June 8, 2021, 2:15pm UTC](https://discourse.mcneel.com/t/cannot-replace-nulls-on-values-read-from-revit-element/125559/4 "2021-06-08T14:15:51Z")

</div>

Here are a couple solutions. i typically use the list length to create actual nulls, which should work in this case.

> [@Remove empty items from lists](https://discourse.mcneel.com/t/remove-empty-items-from-lists/84594):
>
> These critters are as pesky as Nulls, there should be specific commands to get rid of them or to replace them by a some value, or maybe adding this as an option to “Null item” and “Replace Nulls”, like what is done with “Clean Tree”. I know about using textlenght as a hack to do this, but it is just that : a hack.

> [@Remove Empty not removing](https://discourse.mcneel.com/t/remove-empty-not-removing/125497):
>
> Any ideas why it is not working?

---

_[View the full topic](https://discourse.mcneel.com/t/cannot-replace-nulls-on-values-read-from-revit-element/125559)._
