broken script to bake keyframes from driver controlled shape keys

2018-04-08 04:33:21

I found a script on the web that is supposed to set key frames for driver driven shape keys. however its giving me an error. I need this so i can remove the drivers for the render farm I use wont allow scripts. Here is the script.

Import bpy

context = bpy.context

scene = context.scene

object = context.object

frame = scene.frame_start

while frame <= scene.frame_end:


for fcurve in es(): _path)

frame = frame + 1

The error I get when ran is below