nukescripts.translateToPoints

nukescripts.translateToPoints(nodeToSnap)[source]

Translate the specified node to the average position of the current vertex selection in the active viewer. The nodeToSnap must contain a ‘translate’ knob and the transform order must be ‘SRT’.

Parameters:

nodeToSnap (nuke.Node) – Node to translate