I'm working on a platform that requires me to introduce Frame start and end of my animation strips.
I've been looking for a scrip to get a list of the frame range of all the strips i have on my NLA.
I foun this in another thread but it only works for media sources. I hope somebody can help me modify this script to get NLA strip's frame range.
Here's the script i found:
import bpy
context = bpy.context
scene = context.scene
vse = scene.sequence_editor
for strip in vse.sequences_all:
# Edit Strip Panel
print("-" * 72)
print(strip.name)
print(strip.type)
# extend for other strip types.
if strip.type in ['MOVIE']:
print(strip.filepath)
elif strip.type in ['SOUND']:
print(strip.sound.filepath)
print(strip.channel)
print(strip.frame_start)
print(strip.frame_final_duration)
# Trim Duration (soft)
print(strip.frame_offset_start)
print(strip.frame_offset_end)