Disk Cache Info Panel v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Antony Nasce
This panel reports your currently used DiskCache and Buffer info.
Requirements:
6.0, 6.1 or later
Linux, Mac, Windows
12 Aug 2010
424

This Panel checks how much of your disk and paint cache is being used.

To use, execute the code, or import diskcache in your menu.py.

The Panel appears on the Right-click pane menu.

Please login in order to download these files.

Comments   

 
0 # Alan Banis 2011-02-07 09:06
Hi there! Thx for this script!
Does it work on Nuke6.2v2 on Mac? I'm getting a 'module' object is not callable type of message.

This is what I aded to my menu.py

m.addCommand("Disk Cache", "import userscripts; userscripts.dis kcache()", icon="DiskCache.png")

and this to my __init.py__

from diskcache import *

Am I doing something wrong?

Regards
 
 
0 # Antony Nasce 2011-02-07 11:00
I think the issue is the way you are trying to call diskcache() - it's not callable in this way.

The script was designed to be added into the right-click 'Pane' menu by default, as a Python Panel.

In your init.py, try just doing :

------------
import diskcache
------------

This should add it to the right-click 'Pane' menu.

If you wanted to show the Panel as a modal dialog, you could modify the diskcache.py file to include a showModal method like so:

------------
def showPanel():
DiskCachePanel().show()
------------

Then you could include this command in your menu.py:

---------------
m.addCommand("Show Disk Cache", "diskcache.show Panel()")
---------------

Hope this helps!
 
 
0 # Alan Banis 2011-02-08 07:46
It worked!!!! Awesome script!!! Thx a lot!!
 
 
0 # life srichathi 2011-02-27 09:08
its great work!!! Thank you so much
 
 
0 # Giovanni Di Grezia 2011-11-04 12:36
thanks a lot!!!
 

You have no rights to post comments

We have 4861 guests and 138 members online