How to select specific random values in class declaration?

In reply to dave_59:

I tried in Build phase and it worked. Thanks Dave.