Effect.get_index#

Effect.get_index() → int | None[source]#

Returns the 1-based index of the effect among the item’s effects of the same category.

Returns:

the index, None if the effect is no longer applied

Return type:

int | None

Raises:

APIVersionError – If Resolve version < 21.1.2

Version:

Added in DaVinci Resolve 21.1.2