Relative script path for HUSK pre/post render script

   720   1   1
User Avatar
Member
2 posts
Joined: 5月 2021
Offline
Hi all,
Is it possible to use relative script path for husk prerender/postrender/preframe/postframe script?
or is there any ENV variable for searching husk pre/post script?


# Currently use absolute path 
husk --prerender-script "/......../shot1/modifyusd.py"

# Is this possible ??
env HOUDINI_HUSK_SCRIPT_PATH=$HOUDINI_HUSK_SCRIPT_PATH;/showA/shot1/huskscripts husk --prerender-script "modifyusd.py" 

It would be great if it's possible to set script dynamically, command will be short and user can adjust scripts depending on different shows and shots.

Thanks,
Yen
User Avatar
Member
308 posts
Joined:
Offline
I just had a similar question...

Is there any way to define render callbacks via HOUDINI_PATH, similar to either of these existing methods?

- add husk pre / post event callbacks via python startup scripts somewhere in HOUDINI_PATH
- create a file and register it, similar to the husdoutputprocessors workflow
  • Quick Links