Skip to content

Instantly share code, notes, and snippets.

@BenMcEwan
BenMcEwan / nodeInstancer.py
Last active January 12, 2019 23:41
Instances Read & Camera nodes in Nuke, so you don't have to risk cloning and corrupting your script.
# Don't forget to add "import nodeInstancer" in your menu.py
import nuke
def readInstancer():
# Save original node type to variable and deselect, so that multiple new instances don't daisy chain upon creation.
originalNode = nuke.selectedNode()
originalNodeClass = originalNode.Class()
originalNode['selected'].setValue(0)
# --------------------------------------------------------------
# autoContactSheet.py + csTextShortcuts()
# Version: 0.2.0
# Last Updated: August 23rd, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# setComment.py
# Version: 1.0.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# operationSwitcher.py
# Version: 2.0.0
# Last Updated: August 23rd, 2018
# Thanks to Falk Hofmann for making improvements!
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
# --------------------------------------------------------------
# EnableTrackerTRS.py
# Version: 1.0.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# swapInOut.py
# Version: 1.0.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# defaultBackdrop.py
# Version: 1.1.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# ViewerChangeToggle.py
# Version: 1.0.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
@BenMcEwan
BenMcEwan / NetCopy
Last active December 6, 2019 00:13
# --------------------------------------------------------------
# NetCopy.py
# Version: 2.0.0
# Last Updated: January 11th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#
# --------------------------------------------------------------
# QuickKeys.py
# Version: 2.0.0
# Last Updated: October 18th, 2018
# --------------------------------------------------------------
# --------------------------------------------------------------
# USAGE:
#