i need to switch to a new frame then add a keyframe on that frame, the only thing i could find to do that was
However this fails with:
RuntimeError: Operator bpy.ops.anim.change_frame.poll() Expected an timeline/ani
mation area to be active
Error: Python script fail, look in the console for now…
Is there any alternative? or a way to make the viewport the active window?