Explicit render path/name/etc

Hello

So we have this lovely command vred(camera=“persp”) and I can set filename-prefix to c:/some/fancy/path/filename
and then he will render into that filename, but he will then add _tmp.suffix…

How can I ask vray to NOT add tmp ?
I just want to render explicitly to a specific location as I want to be in full control of the output location for my images.

Any way to do it via python?

Regards
Dariusz

Maybe this thread will clarify things. I need to ask around if this can be worked around with Python.

Hey
Yeah, I’ve seen that topic.
Sadly it’s not something that is… “good” I was hoping 4y later there might be a solution…

It would be amazing if
```
import maya.cmds as cmds
cmds.vrend(outputPath=“C:/somefancypath/path/”,ignoreTMPSuffix=True)
​```
Or something like that.

I know “Maya has its way of doing things” but we all think it’s a “stupid way of doing things” and we just want to “save render to this path with this name”…

Any way to do it via c++? I’m writing a plugin for maya, so if we can change that thing via C++ that’s also an option.

We just want to save the file to where we want with the name we want. Not maya/output/tmp(WHY?)/filename.exe or maya/output/myFancyPath/filename_tmp.exe
I’ve just had a dig at deadline to see how they are solving it, but sadly they use MayaBatch which I guess… does things differently as using the same command did not work in maya GUI :confused:

Any help would be great.

Regards
Dariusz

It seems rendering with Maya Batch does not create the tmp folder or _tmp suffix. I need to ask the devs if you can use the vrend function for Maya batch as a workaround.

What command did u use for render batch, ```mayaBatchRenderProcedure(0, “”, “”, “vray”, “”)``` ?

For now my “current” workflow is to just do

vraysettings.filenameprefix c:/some/fancy/path/somefilename.exe
and when he renders I get somefilename_tmp.exe
so the current idea is that after render ends loop over files and regexp find the _tmp suffix for the filename I give it and try to rename/remove it manually. But I don’t like it one bit ;////

Vray batch “could work” if it can show frame buffer in GUI so user can see the progress… but I think batch starts new scene and it takes forever on big scenes so no1 will want to use it :confused:
Thanks for looking in to it!

Update: we added a new flag called “-skipTmpOutputSuffix” in the latest nightly builds. It ignores the “_tmp” suffix for files and the creation of a “tmp” folder if using the project output defaults. We’ll pick it up for the next stable build.

AWh that’s amazing, thank you so much!!!