Thanks. 

How would you know what viewer pipe is active though?

Howard

> On 30 Apr 2014, at 01:51 pm, Justin Fpc <[email protected]> wrote:
> 
> Hi Howard,
> 
> Apparently there is a way using tcl :
> 
> n = nuke.selectedNode()
> topnode_name = nuke.tcl("full_name [topnode %s]" % 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 <[email protected]>:
>> 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
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to