Create move edit Block and Keyframe inside Timeline
When you parse the Timeline Parsing with Python
List all element Block and Key inside the timeline
Read More you can use the function .isChildOf() to test if a track or parameter is linked to the object you want
Example: Block Replication
In the script below we first have a layer selector, then we have a function (that is used later) that help find the last block in a track and then we have the parsing of the timeline where we use elt.isChildOf() to know the track that correspond to the selection
Once we have the correct track we do some manipulation of the block ( cloning, finding the last one, moving the clone and then adding it to the track)
Example: Keyframes Replication
Here we have a similar script that above for the block but now we add new keyframe after the last one and change it's value with a random one
Example: Using Markers
Here is a example to create blocks for every markers in a timeline