OK, so I was intrigued and went to try this. But when that’s in my init.py 
(with the paths replaced to my RAID volume name) I get an error:

… init.py : error interpreting this plugin

that’s weird? If I take it out it goes away. Any ideas?

On Nov 19, 2013, at 9:18 AM, Julik Tarkhanov <[email protected]> wrote:

> # Use the RAID for caches if available
> RAIDS = ("/Volumes/FASZT", "/Volumes/SUPERFASZT")
> raid_found = False
> for volume in RAIDS:
>     if os.path.exists(volume):
>         os.environ["NUKE_TEMP_DIR"] = os.path.join(volume, "NukeCache")
>         raid_found = True
> 
> if not raid_found:
>     nuke.message("No RAID found, your cache will suck and everything will be 
> SLOW”)
> 

Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060
http://corestudio.com

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to