# Component Options drop-down list material schemes (more than two)

**URL:** <https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352>\
**Category:** Dynamic Components\
**Created:** [September 27, 2017, 8:20pm UTC](https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352 "2017-09-27T20:20:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoggie](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@yoggie](https://forums.sketchup.com/u/yoggie)\
**Post date:** [September 27, 2017, 8:20pm UTC](https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352/1 "2017-09-27T20:20:10Z")

</div>

Came across the following thread while looking how to create selectable material schemes with Dynamic Components.

> [@Changing Colors Dynamic Component](https://forums.sketchup.com/t/changing-colors-dynamic-component/31504):
>
> I have created a dynamic componat that has 2 options to change the materials on 2 diffrent parts in the componant. What I want to do i just to make 1 option that switches the materials on both those parts with the same option. It has to be 2 different materials for the 2 parts. Here is a link to the file: [File Dropper - Online file sharing](http://www.filedropper.com/test_49) Any1 that can help?

Was able to get the IF statement to work with two material schemes. However, this approach does not work past two schemes (rightfully so as IF inherently addresses only two options).

Could anyone provide an approach in creating a drop-down list in Component Options with more than two material schemes.

And use case would be:

Chair made up of wood frame, leather upholstery and metal accents. User then can go through three or more material schemes that cycles through a set combination of wood, leather and metal materials. It is crucial that its a set combination … wood\_1 + leather\_3 + metal\_2 … to limit what material combinations are actually available product.

Appreciate any guidance on this. Thanks!

---

<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:** [September 28, 2017, 7:55am UTC](https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352/2 "2017-09-28T07:55:59Z")

</div>

you can nest if statements to create more choices, however most likely you would use the CHOOSE(index,value1,value2,…valueN) where index would be the OPTIONINDEX(“attributeName”) and attributeName the dropdown attribute, you need to use a separate attribute to pass to nested groups

[choose color scheme.skp](https://forums.sketchup.com/uploads/short-url/e2BEyDYyihHspJngYTetrAZORdd.skp) (27.0 KB)

---

<div class="post-metadata">

**Author:** ![yoggie](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@yoggie](https://forums.sketchup.com/u/yoggie)\
**Post date:** [September 29, 2017, 4:23pm UTC](https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352/3 "2017-09-29T16:23:17Z")

</div>

Thanks pcmoor for the quick reply and options! Will study the SKP file you provided.

Appreciate your insight on this!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sketchup/original/3X/f/2/f2a121500b085ed60806607a82720b092d800bb3.png) [@system](https://forums.sketchup.com/u/system)\
**Post date:** [December 30, 2017, 8:23am UTC](https://forums.sketchup.com/t/component-options-drop-down-list-material-schemes-more-than-two/52352/4 "2017-12-30T08:23:24Z")

</div>

Closed on December 30, 2017, 8:23am UTC

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
