I'm creating a couple of random objects from a list of objects: fig1, fig2...fig20
I get a random number and that creating an object by name("fig"&rndnum)
at a button click I want to destroy all of those objects.
How I can do this?
I want to get an array of their UIDs but I don't find a way how I can store them.
How I can achieve this or is there another way to do this?
PS - put all the objects: fig1, fig2...fig20 into a family and destroyed the family, but is there anothe way?