Also a side note: I've used the userSetup.py as well and actually just hade it run an environment module that was maintained in a central network location. That way the logic could easily be updated and picked up by new launches of Maya without being disted to any user preference locations. This was for a studio that also didn't require that people launch Maya from a command line under a "set shot" type of environment management. On Apr 8, 2014 6:45 AM, "Jesse Kretschmer" <[email protected]> wrote:
> 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<https://groups.google.com/d/msgid/python_inside_maya/CANESWi3sU-3BaHg%3DESC6Rh9EDMZPG3kSp5%3DPfg8i31tzUmkp0g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3ru8nkL94ZAVV_wGygzPhNgrwxaZ4oS9YOurKMcTbt3w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
