6.4.1
Look at the attributes for one of your blocks in the PRT_UI.
6.4.2
Create a new Region object.
6.4.3
Create a set of string variables that will hold the attribute names.
6.4.4
Set up the attributes for the block items.
6.4.5
Assign random selected attributes to your blocks.
More information