Search - User list
Full Version: file paths
Root » Houdini Lounge » file paths
circusmonkey
Not sure where I am going wrong but I thought the file could be saved within the project as

$Hip/../../test_LOGO/hip/

instead of

GProjects_vfx_houdini/test_LOGO/hip/

and a file rendered out as

$HIP/../../images/mytest

instead of

GProjects_vfx_houdini/test_LOGO/images/mytest

I just get warnings the file paths are incorrect. I had a look in the help and there does not seem to be any pointers on this.Any tips as to why I am getting it so wrong ?

Rob
Antoine Durr
circusmonkey
Not sure where I am going wrong but I thought the file could be saved within the project as

$Hip/../../test_LOGO/hip/

instead of

GProjects_vfx_houdini/test_LOGO/hip/

and a file rendered out as

$HIP/../../images/mytest

instead of

GProjects_vfx_houdini/test_LOGO/images/mytest

I just get warnings the file paths are incorrect. I had a look in the help and theres does not seem to be any pointers on this.Any pointers why I am getting it so wrong ?

Rob

What does $HIP evaluate to? Can you, from the textport, do an ‘uls <your_relative_path>’ and get something useful? While it “should” work (barring that you have write access into both .. and ../..), it is not a particularly clean way to do it, as someone who opens your file will now have to do the same figuring-out that you're going through. Instead, why not set a variable, e.g. $MYPROJ, set that to the test_LOGO directory, and make files relative from there?

– Antoine
circusmonkey
Thanks so much for the tip ! Its been adopted
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB