# Can't set the material on my Dynamic Component

**URL:** <https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405>\
**Category:** Dynamic Components\
**Tags:** sketchup, components, dynamiccomponents\
**Created:** [October 29, 2023, 3:17pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405 "2023-10-29T15:17:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syksy](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/syksy/32/194923_2.png) [@Syksy](https://forums.sketchup.com/u/Syksy)\
**Post date:** [October 29, 2023, 3:17pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/1 "2023-10-29T15:17:05Z")

</div>

I know that in order to select a material from the library it has to be IN the model, or component, so i made a simple example like in the picture, i create a component and just by its side a small sample of the texture i want to use, but for some reason it is stuck on " material not in model", what am i missing?

 ![Captura de pantalla 2023-10-29 161624](https://global.discourse-cdn.com/sketchup/original/3X/8/1/81a26f4617740f74fcaf4cad470445830e4c2cec.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:** [October 30, 2023, 3:29am UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/2 "2023-10-30T03:29:17Z")

</div>

one adds a swatch to the DC, usually a hidden group, plane divided to paint required samples, for small number it is ideal. Its a good idea to have this preform as a “scaler” a simple formula that triggers the redraw and uniqueness of the parent. Then the material stops stretch/skink and looks correct .  
Any space in the material must be remove or replaced, you can name the material, rescale, colorize to maximum reuse and minim file size

The wall shows the embedded swatch , with referenced scaled material  
[Masonry Wall - - 3D Warehouse (sketchup.com)](https://3dwarehouse.sketchup.com/model/fec1a6fd-ca3b-45bc-917e-bccb28d4161a/Masonry-Wall)

---

<div class="post-metadata">

**Author:** ![Syksy](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/syksy/32/194923_2.png) [@Syksy](https://forums.sketchup.com/u/Syksy)\
**Post date:** [October 30, 2023, 8:33am UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/3 "2023-10-30T08:33:04Z")

</div>

I know! as you can see in the picture,thats what i did, but anyway it says that the texture is not in the model, im losing my mind 😪

---

<div class="post-metadata">

**Author:** ![ryan.moore](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ryan.moore/32/106089_2.png) [@ryan.moore](https://forums.sketchup.com/u/ryan.moore)\
**Post date:** [October 31, 2023, 1:23pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/4 "2023-10-31T13:23:37Z")

</div>

Could you post the model file?

---

<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:** [October 31, 2023, 10:29pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/5 "2023-10-31T22:29:36Z")

</div>

Try  
=“Chapa de madero 01”

otherwise maybe looking for an attribute “chapa” and errors with syntax there after

or do not use the equal sign

as per Ryan, a sample will help to sort the issue

---

<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:** [October 31, 2023, 11:29pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/6 "2023-10-31T23:29:55Z")

</div>

plus after a change the DC may not redraw, you can do this manually, set a short cut or run a script

---

<div class="post-metadata">

**Author:** ![TIG](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tig/32/198_2.png) [@TIG](https://forums.sketchup.com/u/TIG)\
**Post date:** [November 1, 2023, 1:02pm UTC](https://forums.sketchup.com/t/cant-set-the-material-on-my-dynamic-component/246405/7 "2023-11-01T13:02:42Z")

</div>

It looks like you mistyped the materials name  
Chapa de madera 01  
looks like  
Chapa de m adera 01  
in the red error message…
