Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rendeing from python with relative paths

1 REPLY 1
SOLVED
Reply
Message 1 of 2
sombersound.genetics
109 Views, 1 Reply

Rendeing from python with relative paths

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.

1 REPLY 1
Message 2 of 2

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.



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report