A BPY plus module to simplify work with Video Sequence Editor (VSE).
VSE class
next_empty_channel(context=bpy.context)
Return the number of the next empty channel in VSE.
Parameters:
context: context pointer
Returns:
VSE channel number
1 2 3 4 |
from bpy_plus.vse import VSE print(VSE.next_empty_channel()) # 7 |