I am trying to execute a script which contains this portion of code.
proxyName = instan + ‘_proxy’
mesh = locationFolder + “/” + nodeName
cmd2 = ‘vrayCreateProxyExisting( “{0}”, “{1}”,"{2}");’.format( proxyName, mesh ,"" )
mel.eval(cmd2)
If I print the mesh, it is showing properly the input path along with the file name.
But when I am executing the command, the path is getting changed automatically
from
“D:\jay/pSphereShape1.vrmesh”
to
“D:jay/pSphereShape1.vrmesh”
And so the script is getting stopped with a error message “Error: (“D:jay/pSphereShape1.vrmesh”) does not exist”
Why the “” is getting deleted automatically?