<node>.setInput(i, None)

-Nathan



From: Ron Ganbar 
Sent: Tuesday, August 23, 2011 7:53 AM
To: Nuke Python discussion 
Subject: Re: [Nuke-python] Get name of node connected

OK, last question. How do I disconnect all of a node's inputs?


I know that in order to connect a node I go node.setInput(n, node2) - but how 
do I disconnect?

Thanks,
Ron Ganbar
email: [email protected]
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/




On 23 August 2011 15:13, Ron Ganbar <[email protected]> wrote:

  Thanks! 



  Ron Ganbar
  email: [email protected]
  tel: +44 (0)7968 007 309 [UK]
       +972 (0)54 255 9765 [Israel]
  url: http://ronganbar.wordpress.com/




  On 23 August 2011 15:05, Josh Imbruglia <[email protected]> wrote:

    Hi Ron,

    You can call either nuke.selectedNode().dependent()  or
    nuke.selectedNode().dependencies() (will get you the nodes below or
    above it)

    cheers,
    Josh


    On Tue, Aug 23, 2011 at 2:56 PM, Ron Ganbar <[email protected]> wrote:
    > Hi there,
    > how can I get the name of the node that's connected to a selected node? 
Any
    > idea?
    >
    >
    > Ron Ganbar
    > email: [email protected]
    > tel: +44 (0)7968 007 309 [UK]
    >      +972 (0)54 255 9765 [Israel]
    > url: http://ronganbar.wordpress.com/
    >

    > _______________________________________________
    > 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
_______________________________________________
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