autoPinning.py

auto pinning nuke cornerPin This little code place the cornerPin nodes 4 pin's automatically based on the bbox. If your image dosen't have bbox add a crop node and crop it as per your need. Before: After: Download: autopinning.py python code: ''' Created on 04-august-2013 @author: satheesh mail - satheesrev@gmail.com ''' import sys import nuke def autoPinning(): selNode = None try: selNode = nuke.selectedNode() except ValueError: # no node selected pass if selNode is not None: ## auto pin for from selNode['from1'].setExpression('[value name].bbox.x', 0) selNode['from1'].setExpression('[value name].bbox.y', 1) selNode['from1'].clearAnim...