archz2 Posted November 19, 2022 Share Posted November 19, 2022 In order to delete the cache files in bgeo.sc format, I have to manually go to the folder in file explorer and then delete all the files there. Is there a direct way in Houdini that allows me to clear those files directly from node tree? I'm using 19.5.435 on Windows 10. Quote Link to comment Share on other sites More sharing options...
bunker Posted November 20, 2022 Share Posted November 20, 2022 That's where you would use Python. import glob import os dir = "my_directory_path" for file in glob.glob(dir+"/*.bgeo.sc"): os.remove(file) you can put that script on a Null for example: https://projectjulien.space/houdini-tutorials/2018/7/4/create-a-python-snippet-container-on-null-or-any-node Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.