If you are running a background process for VRay rendering, you must also
be somehow handling other VRay environment variables. These variables may
be coming for *free* from the maya environment that spawned the background
process. If that is the case, then you can also adjust the the PATH
variable in the maya.env.

I suggest that you set the PATH variable to include your vray bin
directory, then simple call "vray.exe" without a full path.


Side note:
I've setup network installs of VRay on windows and bootstrapped the plugin
loading with the userSetup.py. I like using python to manage the various
plugin versions. In my case it also is setting the PATH variable such that
I can simply call vray.exe directly from within maya using
subprocess.Popen(["vray"]+args).

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CANESWi3sU-3BaHg%3DESC6Rh9EDMZPG3kSp5%3DPfg8i31tzUmkp0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to