Colour elements with a shared parameter

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.

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

1 Like