TimelineItem.get_position#

TimelineItem.get_position(subframe_precision: bool = False) → TimelineItemPosition | dict[source]#

Returns the item’s absolute position on the timeline.

Parameters:

subframe_precision (bool, optional) – Return a fractional startFrame. Defaults to False.

Returns:

trackType, trackIndex and

startFrame, an empty dict if nothing was returned

Return type:

TimelineItemPosition | dict

Raises:

APIVersionError – If Resolve version < 21.1.2

Version:

Added in DaVinci Resolve 21.1.2