# Dynamo help: Coloring conduits that are missing info

**URL:** <https://forum.dynamobim.com/t/dynamo-help-coloring-conduits-that-are-missing-info/18436>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [January 23, 2018, 9:04pm UTC](https://forum.dynamobim.com/t/dynamo-help-coloring-conduits-that-are-missing-info/18436 "2018-01-23T21:04:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschneck](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@jschneck](https://forum.dynamobim.com/u/jschneck)\
**Post date:** [January 23, 2018, 9:04pm UTC](https://forum.dynamobim.com/t/dynamo-help-coloring-conduits-that-are-missing-info/18436/1 "2018-01-23T21:04:39Z")

</div>

I’m trying to make a script which changes the colors of the conduits in my model (red for missing info and green for info present). I’m running into 2 issues.

1. The main one is that the colors won’t override it. I’m 90% sure that the issue is between the list.filterbyboolmask and element.overridecolorinview. Specifically, I believe that the output for the former is a parameter value while the input for the latter requires an element.

2. If possible, I’d also like to change it from a fixed string to a user inputted string. I.e. Instead of it only looking at “Feed from” I can have the user define it each time from a popup like you get when you do save-as on a file or even better a drop down menu. It’s not as important but It would still be nice.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/5/b5190b8839ab2304a94aec64a980c4a7cedd017f.png)

I’d really appreciate any help with this because I know I am so close to getting this working.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 23, 2018, 9:13pm UTC](https://forum.dynamobim.com/t/dynamo-help-coloring-conduits-that-are-missing-info/18436/2 "2018-01-23T21:13:56Z")

</div>

> [@jschneck](#):
>
> the former is a parameter value while the input for the latter requires an element

Filter the element list, not the parameter values.

> [@jschneck](#):
>
> I’d also like to change it from a fixed string to a user inputted string

Look into Data-Shapes. This package is great for defining user input.

---

<div class="post-metadata">

**Author:** ![jschneck](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@jschneck](https://forum.dynamobim.com/u/jschneck)\
**Post date:** [January 23, 2018, 9:19pm UTC](https://forum.dynamobim.com/t/dynamo-help-coloring-conduits-that-are-missing-info/18436/3 "2018-01-23T21:19:31Z")

</div>

That got it working. Thanks.
