Script to assign colour to objects

 From:  shayno
11193.7 In reply to 11193.6 
Hi Michael
That works perfectly ,
I had to remove any returns to make it all one line as it would not past in
thanks so much Michael