examples for keyframing nested paths. based on report from user der_On's report ...
[blender.git] / doc / python_api / examples / bpy.types.bpy_struct.keyframe_insert.py
1 """
2 Basic Keyframing
3 ++++++++++++++++
4
5 This is the most simple example of inserting a keyframe from python.
6 """
7
8 import bpy
9
10 obj = bpy.context.object
11
12 # set the keyframe at frame 1
13 obj.location = 3.0, 4.0, 10.0
14 obj.keyframe_insert(data_path="location", frame=1)