Adding Keyframes to Evaluation-Time Using Python I am writing a script where I want to automate the animation of Shapekeys. I tried to use the following command:
obj1.keyframe_insert(data_path = 'eval_time'), obj1 is the object containing the Shape Keys.
The command should add a keyframe to the &quot;Evaluation Time&quot; setting for the absoulte Shape-Key:

'eval_time' is the data path I have copied via the command &quot;Copy Data Path&quot;:

However, I get the following message in the system console.
TypeError: bpy_struct.keyframe_insert() property &quot;eval_time&quot; not found
Using other data-paths like 'scale' or 'rotation_euler' works just fine, 'eval_time' fails, however.
Since this reference I seek to get is nested I have also tried the command using the full ID-path:
obj1.keyframe_insert(data_path = &quot;bpy.data.shape_keys['Key.002'].eval_time&quot;), but that didn't work out either.
Can anybody help me out how I can add a keyframe to the &quot;Evaluation Time&quot; attribute using the python API?
Thank you very much in advance.
actually you must see where is each property
the current  API show that is a main property of all shapekeys
in this case:
bpy.context.active_object.data.shape_keys.keyframe_insert(data_path='eval_time', frame=1)

this is different for example of &quot;value&quot;, that is a specific float in each keyblock
bpy.context.active_object.data.shape_keys.key_blocks['Key 1'].keyframe_insert(data_path='value', frame=1)