# Color curtain panel

**URL:** <https://forum.dynamobim.com/t/color-curtain-panel/84024>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [December 11, 2022, 11:36am UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024 "2022-12-11T11:36:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![george](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@george](https://forum.dynamobim.com/u/george)\
**Post date:** [December 11, 2022, 11:36am UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/1 "2022-12-11T11:36:25Z")

</div>

Hello,

I have a curtain wall, which contains curtain panels of a single (the same) family type.  
I would like to paint one, or two curtain panels into red color:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/0/90d4fcc050e1ba7353aa89ce60bccebd8f2e5047.png)

How can I do this? I tried to override graphic settings, but didn’t seem to work:

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

I would be very grateful for any kind of help.

rvt file: [Dropbox - curtain panel color.rvt - Simplify your life](https://www.dropbox.com/s/71rq6shw0sudc4a/curtain%20panel%20color.rvt?dl=0)  
dyn file: [Dropbox - curtain panel color.dyn - Simplify your life](https://www.dropbox.com/s/5f3m2682zoaaocw/curtain%20panel%20color.dyn?dl=0)

---

<div class="post-metadata">

**Author:** ![Elie.Trad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/elie.trad/32/110373_2.png) [@Elie.Trad](https://forum.dynamobim.com/u/Elie.Trad)\
**Post date:** [December 11, 2022, 5:15pm UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/2 "2022-12-11T17:15:35Z")

</div>

@george you can use Elements.SubComponents from Archilab or Clockwork packages to get the nested families and override their graphics:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/4/64e18b7d1353ed1fde731d39a3c505585c3fcf48.png)

---

<div class="post-metadata">

**Author:** ![george](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@george](https://forum.dynamobim.com/u/george)\
**Post date:** [December 11, 2022, 8:10pm UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/3 "2022-12-11T20:10:44Z")

</div>

Thank you very much for the quick solution @Elie.Trad !

---

<div class="post-metadata">

**Author:** ![esanthir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/esanthir/32/138610_2.png) [@esanthir](https://forum.dynamobim.com/u/esanthir)\
**Post date:** [December 11, 2022, 9:34pm UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/4 "2022-12-11T21:34:51Z")

</div>

I think your first graph should work as well, if you also add a proper input to the projectionFillPattern. At least that’s how I remember it from the last time I used it.

---

<div class="post-metadata">

**Author:** ![george](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@george](https://forum.dynamobim.com/u/george)\
**Post date:** [December 11, 2022, 11:06pm UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/5 "2022-12-11T23:06:12Z")

</div>

Hi @esanthir ,  
I just tried with `Solid fill` and it didn’t work:

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

The way I understand the reply from Elie, is that I can’t override graphic settings of a family type, but instead I need to override graphic settings of its sub elements.  
So essentially if an element does not have subelements, I can override its graphic settings. That’s how I understood it.

---

<div class="post-metadata">

**Author:** ![esanthir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/esanthir/32/138610_2.png) [@esanthir](https://forum.dynamobim.com/u/esanthir)\
**Post date:** [December 12, 2022, 11:52am UTC](https://forum.dynamobim.com/t/color-curtain-panel/84024/6 "2022-12-12T11:52:27Z")

</div>

I just had time to test myself - it’s correct that the Dynamo override doesn’t work for the nested family. I didn’t catch that quickly.

The solid fill pattern would be needed though if you use OverrideGraphicSettings.ByProperties.

As a side note it is kind of weird that _right click \> override in view \> by element_ works for the whole element, but calling the same from Dynamo does not work.
