Why is it that when I right click on a data field and click "Copy Data Path" and paste, it will paste something like this (example: the "Start Frame" of a VSE strip):
sequence_editor.sequences_all["roomWalls01.001"].frame_start
But the tooltip that can be seen when hovering over the same field shows a longer data path:
bpy.data.scenes["Scene"].sequence_editor.sequences_all["roomWalls01.001"].frame_start
"Copy Data Path" leaves off the first part: bpy.data.scenes["Scene"].
Why does it leave that off? Isn't that part usually necessary when making scripts?
I'm very new to Blender Python scripting but I've tried some scripts and I often end up typing the first part out by hand, which seems like an unnecessary hassle.
I theorize that this has something to do with the fact that many Blender Python scripts start out defining variables like these:
context = bpy.context
scene = context.scene
sequences = scene.sequence_editor.sequences_all
But I don't know how I'm supposed to know what kind of variable like that I will have to define first.
I would just like to know why this is. It seems like it probably makes sense, and I'm just using a bad Python workflow or approach. Any explanations? Thank you.