import bpy,os sc=bpy.context.scene;folder=os.path.dirname(bpy.data.filepath) bpy.ops.wm.save_as_mainfile(filepath=os.path.join(folder,'map_before_large_nameplates.blend'),copy=True) roots=[o for o in sc.objects if o.type=='EMPTY' and o.name.startswith('Zone_') and o.name.endswith('_Nameplate')] for root in roots: # Board width ~11, height ~3.2; bottom at 7, above normal six-unit fences. for o in root.children: if o.name.startswith('Sign_Post'): o.location.x*=2.0 o.location.z=5.15 o.scale.x*=1.7;o.scale.y*=1.7;o.scale.z*=10.3/3.6 else: o.location.x*=1.7;o.location.y*=1.5 o.location.z=7+(o.location.z-2.1)*1.6 o.scale.x*=1.7;o.scale.y*=1.5;o.scale.z*=1.6 if o.name.startswith('Post_Snow'): o.location.x=5.4 if o.location.x>0 else -5.4 o.location.z=10.4 root['board_width']=11.22;root['board_bottom_height']=7.0 path=os.path.join(folder,'map_large_nameplates.blend') bpy.ops.wm.save_as_mainfile(filepath=path) print('Enlarged',len(roots),'nameplates; board bottom 7, top 10.2; width 11.2.',path)