Houdini Python Cookbook
From kunz
Views
Actions
Namespaces
Variants
Tools
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())
Get the version numbers in the filename
hou.hscript('echo -n `opdigits($HIPNAME)`')
hou.applicationPlatformInfo()