# Selected surfaces color

**URL:** <https://forum.dynamobim.com/t/selected-surfaces-color/66711>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 2, 2021, 2:40am UTC](https://forum.dynamobim.com/t/selected-surfaces-color/66711 "2021-08-02T02:40:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhtwin25NSBMA](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jhtwin25NSBMA](https://forum.dynamobim.com/u/jhtwin25NSBMA)\
**Post date:** [August 2, 2021, 2:40am UTC](https://forum.dynamobim.com/t/selected-surfaces-color/66711/1 "2021-08-02T02:40:17Z")

</div>

i want to change the selected surface color  
so i did by using code block  
but don’t work…

how can i do?

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

---

<div class="post-metadata">

**Author:** ![Joelmick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joelmick/32/93148_2.png) [@Joelmick](https://forum.dynamobim.com/u/Joelmick)\
**Post date:** [August 2, 2021, 6:38am UTC](https://forum.dynamobim.com/t/selected-surfaces-color/66711/2 "2021-08-02T06:38:45Z")

</div>

The node GeometryColor.ByGeometry only shows the color within Dynamo, it does not do anything in Revit.

Also, you are getting an error below because you didn’t put in a Color.

If you want to change the color of a face in Revit, you should take a look at applying paint in Revit to a surface
