API Reference
nukescripts.
connect_selected_to_viewer
Connects the selected node to the given viewer input index, ignoring errors if no node is selected.