You could use the frameCached method. If it returns False, means the viewer
is calculating it. Else it's done calculating.


v=nuke.activeViewer().node()

isCached=v.frameCached(nuke.frame())

print isCached

On Tue, May 9, 2017 at 1:34 PM, Mads Hagbarth Damsbo <madshl...@gmail.com>
wrote:

> Yea, but more in terms of python.
>
> tir. 9. maj 2017 kl. 18.13 skrev Bruno-Pierre Jobin <bpjo...@gmail.com>:
>
>> Look at the refresh knob? If its red, its calculating.
>>
>>
>> ​
>> ​
>>
>> On Tue, May 9, 2017 at 8:33 AM, Mads Hagbarth Damsbo <madshl...@gmail.com
>> > wrote:
>>
>>> Anyone have a good method to check if the viewer is currently
>>> calculating a frame or not?
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> Bruno-Pierre Jobin
>> www.bpjobin.com
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
>
>


-- 
Bruno-Pierre Jobin
www.bpjobin.com
_______________________________________________
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