Is it possible with a Python script to select the curve of an object with its name ("location x", "location y", "rotation z", ....) instead of its number.
For example, I tweak the Z location of an object with
bpy.data.objects["Pixel X0006 Y0006"].animation_data.action.fcurves[2].keyframe_points[0].interpolation = 'LINEAR'
and I would like to select it by a name rather than with fcurves[2]. It would be more convenient for my scripts.
Is it possible to do that ?