Still not working. The logic seems alright. The problem seems to be the 3D view only refreshes during batch process