TimelineItem.set_left_offset#
- TimelineItem.set_left_offset(offset: float, subframe_precision: bool = False, update_linked_items: bool = True) bool[source]#
Moves the item’s start edit point so that
offsetframes of media remain available before it (the valueget_left_offset()then returns).- Parameters:
offset (float) – media frames to leave available on the left side
subframe_precision (bool, optional) – Allow fractional offsets for audio clips when the “Align audio edits to frame boundaries” preference is off. Defaults to False.
update_linked_items (bool, optional) – Adjust linked items too. Defaults to True.
- Returns:
True if successful, False otherwise
- Return type:
- Raises:
APIVersionError – If Resolve version < 21.1.2
- Version:
Added in DaVinci Resolve 21.1.2