Graph
New in 19.1.0
ApplyGradeFromDRX(path, gradeMode)
Return Type: Bool
Loads a still from given file path
(string
) and applies grade to graph with gradeMode
(int
):
- 0 - “No keyframes”
- 1 - “Source Timecode aligned”
- 2 - “Start Frames aligned”.
ApplyArriCdlLut()
Return Type: Bool
Applies ARRI CDL and LUT. Returns True if successful, False otherwise.
ResetAllGrades()
Return Type: Bool
Returns True if all grades were reset successfully, False otherwise.
SetNodeCacheMode(nodeIndex, cache_value)
Return Type: Bool
Sets the cache mode type on the node mapping the node index provided. Refer to Cache Mode section below to find the possible values of cache_value.
GetNodeCacheMode(nodeIndex)
Return Type: int
(cache_value)
Returns the cache mode type on the node mapping the node index provided.
GetNumNodes()
Return Type: int
Returns the number of nodes in the graph
SetLUT(nodeIndex, lutPath)
Return Type: Bool
Sets LUT on the node mapping the node index provided, 1 < = nodeIndex < = self.GetNumNodes()
The lutPath can be an absolute path, or a relative path (based off custom LUT paths or the master LUT path)
The operation is successful for valid lut paths that Resolve has already discovered (see Project.RefreshLUTList).
GetLUT(nodeIndex)
Return Type: String
Gets relative LUT path based on the node index provided, 1 < = nodeIndex < = total number of nodes.
GetNodeLabel(nodeIndex)
Return Type: string
Returns the label of the node at nodeIndex.
GetToolsInNode(nodeIndex)
Return Type: [toolsList]
Returns toolsList (list of strings) of the tools used in the node indicated by given nodeIndex (int).
SetNodeEnabled(nodeIndex, isEnabled)
Return Type: Bool
Sets the node at the given nodeIndex (int) to isEnabled (bool)
1 < = nodeIndex < = self.GetNumNodes().