Random seed based on hipname

import hou, hashlib

s = hou.hipFile.basename() + hou.pwd().path()
h = hashlib.md5(s.encode()).hexdigest()
return int(h[:8], 16) % 100000

Revision #1
Created 2026-05-29 21:42:07 UTC by Anthony
Updated 2026-05-29 21:43:03 UTC by Anthony