I'm having some trouble rendering AiRender() using relative search paths. I have a searchpath set up relative to my scene source files, which works fine with kick (or using kick from subprocess) but AiRender() insists on searching relative to the script location.
I've tried using os.chdir() both without effect. Not sure if this is an arnold issue or if it's a lack of python knowledge on my end.
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
kick uses AiRender() too
If you have the searchpath set properly, and only relative paths in the filename parameters, it shouldn't matter what the current directory is when you run the process that renders.