Hi!
My .hip files went from 40mb to 275mb. I'm guessing I added an HDA at that had a huge amount of nodes. Is there an easy ways to find the node/nodes inflating my .hip file size?
Find the nodes that causes huge .hip file size?
360 4 1-
- olivierth
- Member
- 1232 posts
- Joined: 4月 2017
- オフライン
-
- FedorK_FX
- Member
- 37 posts
- Joined: 1月 2016
- オフライン
-
- Italimpex Productions
- Member
- 8 posts
- Joined: 8月 2021
- オフライン
Hello. Go to Windows > Python Shell, paste this code, and press Enter to run it. You will get 3 types of outputs based on what is bloating your scene: LOCKED (for locked nodes), STASH (for stashed nodes), and HEAVY PARM (for text fields holding a massive amount of raw data over 0.5MB).
I hope that helps!
def find_bloat(): for n in hou.node("/").allSubChildren(): if hasattr(n, "isHardLocked") and n.isHardLocked(): print(f"[LOCKED] {n.path()}") if n.type().name() == "stash": print(f"[STASH] {n.path()}") for p in n.parms(): try: val = p.eval() if isinstance(val, str) and len(val) > 500000: print(f"[HEAVY PARM] {n.path()}.{p.name()} ({len(val)/1024/1024:.1f}MB)") except: pass find_bloat()
I hope that helps!
Edited by Italimpex Productions - 2026年8月17日 19:01:24
Italimpex Productions
CGI Studio specializing in directing and producing advertisements & films.
CGI Studio specializing in directing and producing advertisements & films.
-
- olivierth
- Member
- 1232 posts
- Joined: 4月 2017
- オフライン
-
- johnmather
- スタッフ
- 722 posts
- Joined: 8月 2019
- オフライン
-
- Quick Links



