First, if ba manager thinks its a double post please delete the other in modeling section ok, it suits better here!!!
Two small changes in code and its finished:
Number one is make obj2 to be the selected and obj1 the ACTIVE selected object so there is no need to rename objects hundreds of times to suit the code.
ob1 = bpy.data.objects[‘Plane’]
ob2 = bpy.data.objects[‘Plane.001’]
Number two is a shortcut for the 3d viewport, so there is no need to have the mouse pointer over the text window to press Alt+P to run the script.
Please help, with the script as it is now is taking so much longer the repetitive work.