import bpy bpy.context.object.data.sensor_x = 17.3 bpy.context.object.data.sensor_y = 13.0