Timeline.set_is_enabled#
- Timeline.set_is_enabled(enabled: bool) bool[source]#
Enables or disables the timeline.
Note
In DaVinci Resolve 21.1.2, after disabling and re-enabling the current timeline, editing APIs on it (
TimelineItem.add_effect,Timeline.move_items,Timeline.delete_gaps, …) keep failing even thoughget_is_enabled()returns True again. CallingProject.set_current_timelinewith this timeline restores them.- Parameters:
enabled (bool) – True to enable, False to disable
- Returns:
True if successful, False otherwise
- Return type:
- Raises:
APIVersionError – If Resolve version < 21.1.2
- Version:
Added in DaVinci Resolve 21.1.2