viewer = nuke.activeViewer()
viewer.activeInput()
On 5/1/14, 12:58 AM, Howard Jones wrote:
Thanks.
How would you know what viewer pipe is active though?
Howard
On 30 Apr 2014, at 01:51 pm, Justin Fpc <j.grosde...@gmail.com
<mailto:j.grosde...@gmail.com>> wrote:
Hi Howard,
Apparently there is a way using tcl :
n = nuke.selectedNode()
topnode_name = nuke.tcl("full_name [topnode %s]" % n.name
<http://n.name>())
topnode = nuke.toNode(topnode_name)
(from
http://forums.thefoundry.co.uk/phpBB2/viewtopic.php?t=6783&sid=a68b7faf01b1c3353e4555921af8bb95)
Or maybe by using the dependencies method from the Node class ?
Cheers,
Justin
2014-04-30 13:37 GMT+01:00 Howard Jones <mrhowardjo...@yahoo.com
<mailto:mrhowardjo...@yahoo.com>>:
Hi
Is there a way to get a viewer's input pipe's top node?
Basically I'd like to add a read's file burnt in on the viewer.
Tried but no success so far
Howard
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk
<mailto:Nuke-python@support.thefoundry.co.uk>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk
<mailto:Nuke-python@support.thefoundry.co.uk>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing
<http://ohufx.com/index.php/vfx-compositing> | *workflow customisation
and consulting <http://ohufx.com/index.php/vfx-customising>* *
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python