Move imported model to the center of the scene via python
If you import a model, the origin is typically at (0,0,0) - setting the location to the center has no effect. The trick is to set the geometry to the origin via origin_set operator:

bpy.ops.object.origin_set(type='GEOMETRY_ORIGIN')


Related: How to place objects on the center of the ground plane via python?