import bpy bpy.context.object.data.sensor_x = 32 bpy.context.object.data.sensor_y = 18