Python expression in file save ?
2564 3 2-
- _Christopher_
- Member
- 767 posts
- Joined: April 2014
- Offline
-
- rvinluan
- Staff
- 1296 posts
- Joined: July 2005
- Offline
Hello,
I'm not sure if I understand the question correctly but if you are looking to run Python code when a file is saved then you should be able to by creating a couple of .py files in your Houdini user prefs directory:
-> $HOME/houdini16.0/scripts/afterscenesave.py
-> $HOME/houdini16.0/scripts/beforescenesave.py
As the file names suggest, one file is executed right before the .hip file is saved and the other is executed right after.
Cheers,
Rob
I'm not sure if I understand the question correctly but if you are looking to run Python code when a file is saved then you should be able to by creating a couple of .py files in your Houdini user prefs directory:
-> $HOME/houdini16.0/scripts/afterscenesave.py
-> $HOME/houdini16.0/scripts/beforescenesave.py
As the file names suggest, one file is executed right before the .hip file is saved and the other is executed right after.
Cheers,
Rob
-
- _Christopher_
- Member
- 767 posts
- Joined: April 2014
- Offline
-
- rvinluan
- Staff
- 1296 posts
- Joined: July 2005
- Offline
-
- Quick Links

