Hi
Is there any way to clear SOP Cache by VEX?
Clear SOP Cache by VEX
2822 5 0- Mohsen_Tabasi
- Member
- 53 posts
- Joined: June 2009
- Offline
- jsmack
- Member
- 7794 posts
- Joined: Sept. 2011
- Online
- Mohsen_Tabasi
- Member
- 53 posts
- Joined: June 2009
- Offline
- animatrix_
- Member
- 4521 posts
- Joined: Feb. 2012
- Offline
You can use this code in python:
hou.hscript(“sopcache -c”)
hou.hscript(“sopcache -c”)
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- Mohsen_Tabasi
- Member
- 53 posts
- Joined: June 2009
- Offline
- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
animatrix_
You can use this code in python:
hou.hscript("sopcache -c")
So this unload every node right?
What if need to unload specific nodes? Can't find any command for that.
Also, I encountered 2 issues: Python Sop seems to be unaffected by the command, It won't unload.
And even if the nodes upstream have they cache cleared by the command, this won't trigger a re-cook for the Python Sop.
I produced an example case
-
- Quick Links