nuke.overrides

Package nuke :: Module overrides |
[hide private]
[frames] | no frames]

# Module overrides

source code

Functions | [hide private]
dependencies(nodes, what=7) List all nodes referred to by the nodes argument. | source code
dependentNodes(what=7, nodes=`[``]`, evaluateAll=True) List all nodes referred to by the nodes argument. | source code
pluginAddPath(args, addToSysPath=True) Adds all the paths to the beginning of the Nuke plugin path. | source code
pluginAppendPath(args, addToSysPath=True) Add a filepath to the end of the Nuke plugin path. | source code
selectConnectedNodes() Selects all nodes in the tree of the selected node. | source code

Variables | [hide private]
| __package__ = ``'``nuke``'``

Function Details | [hide private]

### dependencies(nodes, what=7) | source code
    List all nodes referred to by the nodes argument. 'what' is an optional integer (see below).
      You can use the following constants or'ed together to select the types of dependencies that are looked for:
             nuke.EXPRESSIONS = expressions
             nuke.INPUTS = visible input pipes
             nuke.HIDDEN_INPUTS = hidden input pipes.
      The default is to look for all types of connections.

    Example:
      n1 = nuke.nodes.Blur()
      n2 = nuke.nodes.Merge()
      n2.setInput(0, n1)
      deps = nuke.dependencies([n2], nuke.INPUTS | nuke.HIDDEN_INPUTS | nuke.EXPRESSIONS)

### dependentNodes(what=7, nodes=`[``]`, evaluateAll=True) | source code
    List all nodes referred to by the nodes argument. 'what' is an optional integer (see below).
      You can use the following constants or'ed together to select what types of dependent nodes are looked for:
             nuke.EXPRESSIONS = expressions
             nuke.INPUTS = visible input pipes
             nuke.HIDDEN_INPUTS = hidden input pipes.
      The default is to look for all types of connections.

    Example:
      n1 = nuke.nodes.Blur()
      n2 = nuke.nodes.Merge()
      n2.setInput(0, n1)
      ndeps = nuke.dependentNodes(nuke.INPUTS | nuke.HIDDEN_INPUTS | nuke.EXPRESSIONS, [n1])

### pluginAddPath(args, addToSysPath=True) | source code
Adds all the paths to the beginning of the Nuke plugin path. If the path already exists in the list of plugin paths, it is moved to the start. If this command is executed inside an init.py then the init.py in the path will be executed. It also adds the paths to the sys.path, if addToSysPath is True.

### pluginAppendPath(args, addToSysPath=True) | source code
Add a filepath to the end of the Nuke plugin path. If the path already exists in the list of plugin paths, it will remain at its current position. It also appends the paths to the sys.path, if addToSysPath is True.