Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Rendeing from python with relative paths

1 ANTWORT 1
GELÖST
Antworten
Nachricht 1 von 2
Anonymous
170 Aufrufe, 1 Antwort

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 ANTWORT 1
Nachricht 2 von 2
Stephen.Blair
als Antwort auf: Anonymous

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report