Okay, so I basically have this snippit:
count=1 while (len(houses) < 3 and count < 8): create_24_cubes() validate_cubes() if True: houses.append(bpy.context.scene.objects.active) print ("Yass") clean_up_but_keep('MESH', ['Plane', 'Plane.001']) else: print ("Damn") clean_up_but_keep('MESH', ['Plane', 'Plane.001']) count +=1 print ("Amount of houses") print (len(houses))
However, when I print len(houses), it shows , which indicates that the list is empty?
Is it because the cleanup I do also deletes the cubes from the list, and if so, does anyone know how I can remove the cubes from the scene without deleting them?
A shit programmer