ogsRender creates tmp folder

ogsRender creates tmp folder

Anonymous
Not applicable
834 Views
2 Replies
Message 1 of 3

ogsRender creates tmp folder

Anonymous
Not applicable

Hello,

When I use cmds.ogsRender the rendered file is put somewhere in <Project root>/images/tmp/filename.####.ext.

 

How to I make Maya stop creating the tmp folder? I didn't tell Maya to make it.

 

Thanks.

0 Likes
835 Views
2 Replies
Replies (2)
Message 2 of 3

RFlannery1
Collaborator
Collaborator

I'm not sure if you can make it stop doing that.  It may just be something internal to the ogsRender command.  I have noticed that when I use the "camera" flag for that command, it puts the image in "<cameraName>" subfolder (like "persp" or "myCamera") instead of "tmp".

 

I ended up using shutil.move after the image has been rendered to move it to where I want.

0 Likes
Message 3 of 3

Anonymous
Not applicable

That's a bummer. I was hoping I wouldn't have to move it manually, but I guess there's no other option. Thank you for the reply.

0 Likes