# Coloring per modelled type

**URL:** <https://forum.dynamobim.com/t/coloring-per-modelled-type/32248>\
**Category:** Revit\
**Created:** [February 17, 2019, 2:53pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248 "2019-02-17T14:53:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaap](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@Jaap](https://forum.dynamobim.com/u/Jaap)\
**Post date:** [February 17, 2019, 2:53pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/1 "2019-02-17T14:53:48Z")

</div>

Hello,

I’ve been searching the internet for a while. Saw some examples but they wont work the way I want them too. I want to visualize all drawn walls in Revit per type. So far I can only visualize walls per instance (image 1).

In my example i got 170 walls in the project, Dynamo is coloring every wall another color. I want them colored per type.

Can someone push me in the right direction?

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/50a81f6243e7469efe5d4f3d0b9d6be2cf88b1f0.png)

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [February 17, 2019, 2:58pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/2 "2019-02-17T14:58:01Z")

</div>

Guess if you group your types they will get the same colors 🙂 can’t see your nodes because the picture is not zoomed in enough 😉

---

<div class="post-metadata">

**Author:** ![Durmus\_Cesur](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/durmus_cesur/32/62638_2.png) [@Durmus\_Cesur](https://forum.dynamobim.com/u/Durmus_Cesur)\
**Post date:** [February 17, 2019, 3:29pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/3 "2019-02-17T15:29:34Z")

</div>

Hi @Jaap,

When you look at your chart, you are trying to paint 170 walls with the colors determined by 37 species. But in the end you have 37 colors. I’ve done your editing from the start. Please review.

@Jonathan.Olesen The most important point is to group in this case.

 ![Color_Elem](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/af2c77c8899d33a943aa755536002a23291d2b99.png) ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f01ea7a95ccb66dbfc767dc80ccec4506e68531c.png)

---

<div class="post-metadata">

**Author:** ![Jaap](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@Jaap](https://forum.dynamobim.com/u/Jaap)\
**Post date:** [February 17, 2019, 3:31pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/4 "2019-02-17T15:31:49Z")

</div>

I see, it worked, thanks! Unfortunately the project got 37 different type. Wich makes the contrast between the walls not as desired.

---

<div class="post-metadata">

**Author:** ![Durmus\_Cesur](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/durmus_cesur/32/62638_2.png) [@Durmus\_Cesur](https://forum.dynamobim.com/u/Durmus_Cesur)\
**Post date:** [February 17, 2019, 4:00pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/5 "2019-02-17T16:00:05Z")

</div>

Hi,

If the problem is resolved, mark the issue as resolved.  
You can specify the colors.

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [February 17, 2019, 4:22pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/6 "2019-02-17T16:22:16Z")

</div>

> [@Durmus\_Cesur](#):
>
> The most important point is to group in this case.

I know, that was why i suggested it 😉

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 17, 2019, 5:15pm UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/7 "2019-02-17T17:15:31Z")

</div>

> [@Jaap](#):
>
> 37 different type. Wich makes the contrast between the walls not as desired.

Define the colors yourself then, instead of building a range.

---

<div class="post-metadata">

**Author:** ![Jaap](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@Jaap](https://forum.dynamobim.com/u/Jaap)\
**Post date:** [February 18, 2019, 8:04am UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/8 "2019-02-18T08:04:34Z")

</div>

Got it completely working now. You are also able to filter the walltype/floortype, etc, in Dynamo Player. For those who are interested see below.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/a/ca1a7b1ad6ee7264a663523d5708744b91deffd3.png) ![Floorplan](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/2/623f6c5e70cd38fd1366cbe23c5c80dbe1e8e346.png) [Hoeveelheden visualisatie Nl-SfB incl pattern.dyn](https://forum.dynamobim.com/uploads/short-url/AndZ5dSYKcQ5AFeUoiZm4cMqFuI.dyn) (35.4 KB)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [February 18, 2019, 8:52am UTC](https://forum.dynamobim.com/t/coloring-per-modelled-type/32248/9 "2019-02-18T08:52:06Z")

</div>

Hey,

Congrats on getting it working…

When I do these kinds of plans I drive the Colour Overrides from View Filters (from View Templates) based on Type Marks (or something similar).

I worry that in your View, when someone changes a Wall Type it’s Colour only updates If you re-run your Dynamo graph.

Hope that’s of interest,

Mark
