A lot of people use floating panels, with no properties bin open at all, so depending why you need this, that might not be reliable.
If it's for something like controlling which of several of the same node are going to draw Viewer overlays, you might be better off checking to see if the node is selected and manage it that way? On Fri, May 19, 2017 at 9:18 AM, Mads Hagbarth Damsbo <madshl...@gmail.com> wrote: > I need to get the current active node. (the top node in the Properties > panel) > Im thinking it might be in the nuke.toNode('preferences') somewhere but it > has 285 knobs, so it'll take a while to look through them all. > > Anyone know? > > -- > Mads Hagbarth Damsbo > VFX Technical Director - www.hagbarth.net > Phone: (+45)28731582 <+45%2028%2073%2015%2082> > > _______________________________________________ > 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 > >
_______________________________________________ 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