# Material changing

**URL:** <https://forums.sketchup.com/t/material-changing/82515>\
**Category:** Dynamic Components\
**Created:** [December 1, 2018, 5:08pm UTC](https://forums.sketchup.com/t/material-changing/82515 "2018-12-01T17:08:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pupoksveta](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pupoksveta/32/116495_2.png) [@pupoksveta](https://forums.sketchup.com/u/pupoksveta)\
**Post date:** [December 1, 2018, 5:08pm UTC](https://forums.sketchup.com/t/material-changing/82515/1 "2018-12-01T17:08:35Z")

</div>

hi again.  
i am trying to figure out how to change material dynamically by selecting material in drop down list. i have suppliers material of sheets witch i can choose and want my DC to change texture when i select one.  
i created texture of f187 st9 beton chigago and named it by code i use under this name 308031. when i hit f187 st9 beton chigago in material i have 308031 and the peace just turn green. in color folder i have 38031 but it does nothing.  
is there a way to do it? i cannot figure it out.

 ![1](https://global.discourse-cdn.com/sketchup/original/3X/5/f/5f9a058af1ff5450cfa7660aa34ea600fd34d2ec.png)

---

<div class="post-metadata">

**Author:** ![pcmoor](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pcmoor/32/3427_2.png) [@pcmoor](https://forums.sketchup.com/u/pcmoor)\
**Post date:** [December 5, 2018, 11:18am UTC](https://forums.sketchup.com/t/material-changing/82515/2 "2018-12-05T11:18:32Z")

</div>

assuming the material is in the model, use =“308031” the expression can be placed in the dropdown values.

However I believe loading such a number of materials (swatches) to your model to match the number of options would make the file very big.  
You could consider a global component to hold the clients selection and have the other DCs reference it. This would make changes quicker, less file space, although you would need a small script to redraw all.  
So one would paint the global DC swatch, run the script to update all with the redraws.  
[https://sketchucation.com/forums/viewtopic.php?f=180&t=68489](https://sketchucation.com/forums/viewtopic.php?f=180&t=68489)

---

<div class="post-metadata">

**Author:** ![pupoksveta](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pupoksveta/32/116495_2.png) [@pupoksveta](https://forums.sketchup.com/u/pupoksveta)\
**Post date:** [December 5, 2018, 11:52am UTC](https://forums.sketchup.com/t/material-changing/82515/3 "2018-12-05T11:52:48Z")

</div>

Thanks for your respond.  
I new that swatch could be applied and also it would get too large if I place there all the material I use. hoped that there is a way to just select drop down menu and it would refer to texture in materials. as easy as if I write green and it will refer to color green. witch works that way.  
thanks a million. I will play around with the global box.
