Graph.set_node_color#

Graph.set_node_color(node_index: int, color_name: Literal['Orange', 'Apricot', 'Yellow', 'Lime', 'Olive', 'Green', 'Teal', 'Navy', 'Blue', 'Purple', 'Violet', 'Pink', 'Tan', 'Beige', 'Brown', 'Chocolate', ''] | str) → bool[source]#

Sets the color of the node at node_index.

Parameters:
  • node_index (int) – 1 <= node_index <= get_num_nodes()

  • color_name (str) – one of the clip colors, e.g. “Orange”, “Teal” or “Chocolate”. An empty string clears the color.

Returns:

True if successful, False otherwise

Return type:

bool

Raises:

APIVersionError – If Resolve version < 21.1.2

Version:

Added in DaVinci Resolve 21.1.2