... i should stop writing without testing first..
i should use "shown()"

On Sat, May 20, 2017 at 9:49 AM, Mads Hagbarth Damsbo <madshl...@gmail.com>
wrote:

> Yea, your are right. Floating panels. Forgot about that one.
>
> The problem with the selected node thing, is that if the user deselects it
> in the dag, then it won't show up.
>
> fre. 19. maj 2017 kl. 23.23 skrev Matt Plec <mp...@mplec.com>:
>
>> 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
>>
> --
> Best regards. Mads Hagbarth Lund
>



-- 
Mads Hagbarth Damsbo
VFX Technical Director - www.hagbarth.net
Phone: (+45)28731582
_______________________________________________
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

Reply via email to