kunz Houdini Python Cookbook

Houdini Python Cookbook

From kunz
Revision as of 21:25, 19 November 2021 by Admin (talk | contribs)

Force the entire scene to cook (all nodes)

for node in hou.node("/").allSubChildren():
    node.cook(force=True)

Print the full path of the current Houdini scene

print(hou.hipFile.path())