Hi guys,

I'm trying to make a python script button that allows me to just click a
button in the properties window to view it...rather than looking for it in
the node graph.

It ends up creating a new viewer node inside my group node, and doesn't
connect it to anything.




I'm using Nuke 7.0 v4 Linux (Scientific)


Here is the script as follows (pretty basic)

#=============================================

lgt2_ctrl = nuke.thisNode()

lgt2_ctrl.setSelected(True)


# this is where it screws up...

nukescripts.connect_selected_to_viewer(0)



Any thoughts?


Thanks


Steve
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to