# Colour elements with a shared parameter

**URL:** <https://forum.dynamobim.com/t/colour-elements-with-a-shared-parameter/82770>\
**Category:** Revit\
**Tags:** revit\
**Created:** [November 4, 2022, 7:01pm UTC](https://forum.dynamobim.com/t/colour-elements-with-a-shared-parameter/82770 "2022-11-04T19:01:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patriciabalbioU9RR4](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@patriciabalbioU9RR4](https://forum.dynamobim.com/u/patriciabalbioU9RR4)\
**Post date:** [November 4, 2022, 7:01pm UTC](https://forum.dynamobim.com/t/colour-elements-with-a-shared-parameter/82770/1 "2022-11-04T19:01:38Z")

</div>

I’m trying to colour elements with a shared parameter that I created to identify the lifetime of components. I’m a new Dynamo user and not a computer programmer. Can someone help me? In the picture below there is a routine that works fine for basic Revit parameters, but it is not working with a shared parameter.

 ![Capturar](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/8/389f70d3522fb7e709ba52122a995fd19e1d606b.jpeg)

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [November 4, 2022, 7:06pm UTC](https://forum.dynamobim.com/t/colour-elements-with-a-shared-parameter/82770/2 "2022-11-04T19:06:43Z")

</div>

This doesn’t work if you don’t set all inputs
