Saori Yoshimoto work notes since 2018

Saturday, June 15, 2019

[Hython] Listing file cache paths

--listing file cache paths


------------------------------------------------
node = hou.pwd()
geo = node.geometry()

# Add code to modify contents of geo.
# Use drop down menu to select examples.
print "############################################################"
root = hou.node('/')
all_nodes = root.allSubChildren()
for n in all_nodes:
    if n.type().name() == 'file' or n.type().name() == 'filecache':
        if not 'setLoader' in n.path():
            print n.path()
            print n.evalParm('file')
            print "----"