# How to colorizing column families

**URL:** <https://forum.dynamobim.com/t/how-to-colorizing-column-families/49134>\
**Category:** Revit\
**Tags:** revit, dynamo, color\
**Created:** [April 10, 2020, 9:28am UTC](https://forum.dynamobim.com/t/how-to-colorizing-column-families/49134 "2020-04-10T09:28:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s18352185FKS](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@s18352185FKS](https://forum.dynamobim.com/u/s18352185FKS)\
**Post date:** [April 10, 2020, 9:28am UTC](https://forum.dynamobim.com/t/how-to-colorizing-column-families/49134/1 "2020-04-10T09:28:52Z")

</div>

![Dynamo billede](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0f6d7f3d0ac96c30086f18c656cfddd570330a2f.png)

Hi.  
I’m struggling to colorizing column families. As I read the fail message, it get a string and not an element. Somebody know how to get it frem a string to an element.

The picture is for the first family, number 0, and then I have for number 1 and 2 below, because I have a revit file with 3 different columns.

I’m looking forward for your help.🙂  
Kasper

---

<div class="post-metadata">

**Author:** ![Bjorn\_Keulemans1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bjorn_keulemans1/32/54676_2.png) [@Bjorn\_Keulemans1](https://forum.dynamobim.com/u/Bjorn_Keulemans1)\
**Post date:** [April 10, 2020, 10:44am UTC](https://forum.dynamobim.com/t/how-to-colorizing-column-families/49134/2 "2020-04-10T10:44:44Z")

</div>

You are giving your Color Node the names of your columns, not the column elements themselves.

Connect the Groups output (and not the Keys output) from your GroupByKey Node to the GetItemAtIndex Node.

The GroupByKey Node has 2 outputs, the Group output contains the elements that you have grouped, the keys output has the values you grouped them by.

---

<div class="post-metadata">

**Author:** ![s18352185FKS](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@s18352185FKS](https://forum.dynamobim.com/u/s18352185FKS)\
**Post date:** [April 10, 2020, 11:22am UTC](https://forum.dynamobim.com/t/how-to-colorizing-column-families/49134/3 "2020-04-10T11:22:06Z")

</div>

It worked! Thank you!
