Clear the cache manager from python

   3760   1   0
User Avatar
Member
9 posts
Joined: May 2018
Offline
Hi,

Is there an API for clearing the cache manager (https://www.sidefx.com/docs/houdini/ref/windows/caches.html) from python?

Thanks
Edited by andcesaro - Sept. 22, 2022 00:06:31
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
As far as I know you can clear the cache of the SOP nodes using a hscript command in python SOPCACHE [www.sidefx.com].
WHICH IS AFFECTED BY A BUG that makes it unusable if your network contain for-loop blocks (nodes upstream of for-loops won't be cleared by sopcache command)

(the are other hscript commands to clear other type of cache)
Edited by Andr - Sept. 22, 2022 07:49:25

Attachments:
cachecommands.JPG (54.1 KB)

  • Quick Links