Skip to content

Instantly share code, notes, and snippets.

@MitchellKehn
Last active December 24, 2019 10:54
Show Gist options
  • Save MitchellKehn/75e333c2b805ebdf73f9b329d60a75da to your computer and use it in GitHub Desktop.
Save MitchellKehn/75e333c2b805ebdf73f9b329d60a75da to your computer and use it in GitHub Desktop.
[get nuke node parent] #nuke
node = nuke.thisNode()
nodeName = "root." + node.fullName()
parentName = ".".join(nodeName.split(".")[:-1])
parent = nuke.toNode(parentName)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment