I want to render images in specific location in Maya 2015.
for that i want to set the image output path by python (pymel or cmds).
import maya.cmds as cmds
import pymel.core as pm
path = r"D:\my_renderpath"
pm.mel.eval(r' setProject "{}"'.format(path))
with above code i am able to change the project directory that gives me very close result.
but Still "Images" variable in project window is set to images.
How can i add "D:\my_renderpath" in Images of Project Window.