I'd like to add a Timeline Marker via python script. How can I do it?
Using bpy.ops.clip.add_marker() requires me to have the context for command, so I'd prefer something like
marker = timelinemarker.new()
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
I found it after browsing through the api and checking out some other people's code.
import bpy scene = bpy.data.scenes['Scene'] scene.timeline_markers.new('F_01', frame=1)
see TimelineMarkers for more info