TimelineItem.add_take#

TimelineItem.add_take(media_pool_item: MediaPoolItem, start_frame: int, end_frame: int) bool[source]#

Adds mediaPoolItem as a new take. Initializes a take selector for the timeline item if needed. By default, the full clip extents is added.

Parameters:
  • media_pool_item (MediaPoolItem) – MeidaPoolItem object to add as a new take.

  • start_frame (int) – start frame of the take.

  • end_frame (int) – end frame of the take.

Returns:

True if successful, False otherwise.

Return type:

bool