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
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
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
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!
RSS feed for comments to this post