Timeline.move_items#
- Timeline.move_items(timeline_items: List[TimelineItem], position: TimelineItemPosition | dict, move_linked_items: bool = True, subframe_precision: bool = False) bool[source]#
Moves timeline items as a group.
The leftmost item (lowest track on ties) goes to
positionand the others keep their offsets relative to it. Fails, moving nothing, if any item cannot reach its destination.- Parameters:
timeline_items (List[TimelineItem]) – items to move
position (TimelineItemPosition | dict) –
trackIndexand/orstartFrameof the destination; omitted keys keep their current valuemove_linked_items (bool, optional) – Move linked items too. Defaults to True.
subframe_precision (bool, optional) – Allow fractional
startFramevalues for audio clips when the “Align audio edits to frame boundaries” preference is off. Defaults to False.
- Returns:
True if successful, False otherwise
- Return type:
- Raises:
APIVersionError – If Resolve version < 21.1.2
- Version:
Added in DaVinci Resolve 21.1.2