Hi all,
I know how to index the fcurves in an action with bpy.context.object.animation_data.action.fcurves[…] and I wrote operators to show only X, Y or Z based on the indices. But then I wrote an operator to delete all the Y location fcurves, and realized that since that changes the index of each curve, I need to rewrite the display operators based on channel name (ie, “X Location”, “Y Location”, etc.).
But how do I access that?