Skip to content

beesperester/nuke-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuke-modules

nodes.py

The Nodes-Module contains some basic methods for identifying and finding a node in the nukescript

Find a node in nukescript

import nodes

matching_node = nodes.findNode('Read1')

nodetree.py

The Nodetree-Module contains methods for traversing up and down the nodetree. This works only for connected nodes and will include multiple inputs and outputs of nodes to find the first matching node.

Find a node upstream

import nuke

import nodetree

current_node = nuke.selectedNodes()[0]
matching_node = nodetree.findNodeUpstream(current_node, 'Read1')

Find a node downstream

import nuke

import nodetree

current_node = nuke.selectedNodes()[0]
matching_node = nodetree.findNodeDownstream(current_node, 'Write1')

About

A set of useful methods for Nuke

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages