I'm importing a .obj file(s) from another software that results in changes in scale and location. I don't want to have select all objects individually and apply scale and location changes. I've tried the following:
import bpy
bpy.ops.object.select_all(action='DESELECT')
if bpy.context.selected_objects ==[]:
for obj in bpy.context.scene.objects:
if obj.type == 'MESH':
bpy.context.object.location = (-6.0, -3.0, 0.0)
bpy.context.object.scale = (0.001,0.001,0.001)
It selects one object and that's it. Any help would be appreciated! Thanks!
ob.location -= (1, 0, 0)
$\endgroup$