How to randomly change a material in a curtain wall patern based

Hey guys,

So i’ve been doing a litle school project and i build a giant wall patern bassed to give it a cool honeycomb structure.

Now ive build this thing i want to randomly change te materials in the panels, so i could get a tower with al kind of materials (for example grass, sollar pannels etc.)

I know how to get this material, but i have no idea how i could change this, and also how i could make this go randomly so every honeycomb would get his own material?

thanks for helping me out,

Arie

Hoi @arjanouwehand

In Dutch:
Check http://au.autodesk.com/au-online/classes-on-demand/class-catalog/2016/revit/it20300#chapter=0
Dit is vrij recent materiaal.
Ergens vanaf minuut 50 kom je je antwoord tegen.

English:
Check http://au.autodesk.com/au-online/classes-on-demand/class-catalog/2016/revit/it20300#chapter=0
This is recent material.
Somewhere at 50:00 min you will find your answer.

Marcel