I am trying to access just the last few nodes of a data path, however blender tries to execute it when I try to use split
or similar functions. What is the proper way to do this?
The data: bpy.data.scenes['Scene'].sequence_editor.sequences_all["Image0001.png"]
What I want: sequences_all["Image0001.png"]
Some things I've tried so far:
The split function:
n = bpy.context.selected_sequences
x = n[0]
x = str(x)
print(x.split(str='.'))
The problem is blender tries to interpret split
as an attribute of the image sequence.
I need a dynamic result, as values could change in the first few parts. A way to just capture the "data path" of the selected VSE strip could potentially work as well.