TimelineItem.set_right_offset#
- TimelineItem.set_right_offset(offset: float, subframe_precision: bool = False, update_linked_items: bool = True) bool[source]#
Moves the item’s end edit point so that
offsetframes of media remain available after it (the valueget_right_offset()then returns).- Parameters:
offset (float) – media frames to leave available on the right 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