Hi LoboTommy,
thank you very much for your advice.
Unfortunately, it doesn’t work.
But it doesn’t matter, because it’s not what I was looking for, here all triangles of an object are colored, but I need one random color per object.
Eevee does not have an object or material index, I asked here already.
Many greetings
Dito