how to define custom variable HIP file specific? like $JOB
Posted 10 June 2012 - 08:14 AM
is it possible to define in the HIP file itself rather than the path of the scene
On the storage front we want to put all the HIP files at one place and all the generated data at another place so I just cant use $HIP in the scene how is the possible?
can I use any variables like %d %m like in Nuke...
Please help us to have a proper consistent workflow but infact we are using the above process in nuke where we declare a sticky node and call the value in the sticky note which is working like a charm...
is there any possibility.
Posted 10 June 2012 - 12:06 PM
Posted 10 June 2012 - 04:40 PM
Seems like a common problem, can it be solved using symlinks?
Posted 10 June 2012 - 06:31 PM
yeah ive tried using this one it works pretty decent but the folder creation before the render begins might be super helpful since when we render we always have to create the folder hierarchy and then render sometimes the structure is pretty complicated for various passes. Is there anyway to create this automatically since when we version up we have to recreate this folder structure. Anyway to do this?
Posted 10 June 2012 - 10:32 PM
import os, errno def mkdirs(newdir, mode =0777): try:os.makedirs(newdir, mode) except OSError, err: if err.errno != errno.EEXISTS or not os.path.isdir(newdir): raise
you can use this function in the mantra node , scripts/ prerenderscripts (don't forget to use python) or You use it in a custom tool that automates the data handling for You. for example it is very handy to let that tool create variables like $RENDER or $TEXTURE and add this variables to the jump.pref file in your houdini dir. now when this variable exists You get short cuts in Your file browser
Posted 11 June 2012 - 12:00 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users