Not quite. When I ran the code, I found out that some of the rectangles are acutally groups of groups of ... smaller grey blocks (see attached).
In order to get rid of them all, I could run the code say, 10 times. However, I wondering if there is a command to instruct the code to loop multiple times.
Thanks.
|