In 2.5x I can get the action, but the FCurves inside the action can’t be called by the name (e.g. the old OB_SCALEZ) nor give me a direct access to their values for a given name.
action = bpy.data.actions.get("myActionName") #and now what?
Any suggestions? The script use actions not assigned to any objects to store data. That’s why instead of reading the scale of my object in a given frame I want to read it from an action.
The fcurve has a data_path and array_index property. For z scale for instance you could loop through the fcurves collection and check for data_path = “scale” and array_index = 2 …