I'm starting a script to nudge the frames values of keyframes from selected objects. However, I've fallen at the first hurdle:
bpy.ops.action.select_column(mode="CFRA")
On it's own just returns the error:
RuntimeError: Operator bpy.ops.action.select_column.poll() failed, context is in correct
Similarly with
bpy.ops.action.select_column(mode="KEYS")
So I'm not sure what context is wrong here. I've looked at this question, but it doesn't help me as it's just an explanation of the parameters without any further code or explanation.
Any ideas?
get_areas('DOPESHEET_EDITOR')and make sure the dopesheet is open. $\endgroup$