Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-10 Thread Marcus Ottosson
Thanks, Fredrik. I'm glad you like it. :) Let me know if you give it a whirl and I'll give you the grand tour. On Tuesday, 8 April 2014, Fredrik Averpil wrote: > On Mon, Apr 7, 2014 at 9:43 PM, Marcus Ottosson > > > wrote: > >> I'm calling it Open Metadata

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-08 Thread Fredrik Averpil
On Mon, Apr 7, 2014 at 9:43 PM, Marcus Ottosson wrote: > I'm calling it Open Metadata > > That's really nice. Reminds me of Qt's QSettings! // Fredrik -- You received this message because you are subscribed to the Google Groups "Python Programmi

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-08 Thread Fredrik Averpil
Just a quick word on userSetup.py: it is called later than userSetup.mel and prohibits some things to function correctly which would work fine if loaded through userSetup.mel (an example would be dirmap). I don't know why Autodesk made it this way... but it's truly annoying. We also have V-Ray cen

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-07 Thread Marcus Ottosson
Figure it's too coincidental not to mention, but once you start considering overriding such settings, say in the cascading fashion of having children add or subtract environment settings or paths to executables from their parents, I just happen to be working on such a solution at the moment; I'm ca

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-07 Thread Justin Israel
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 wa

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-07 Thread Marcus Ottosson
+1 for modifying PATH to include the binary. Haven't come across a scenario this wouldn't work. E.g. when you've got multiple binaries, such as Maya 2013, 2014 and 2015, you can substitute directly calling the maya.exe with calling something like maya2013.bat and maya2014.bat, each containing the

Re: [Maya-Python] getting the correct vray.exe from maya.env

2014-04-07 Thread Jesse Kretschmer
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

[Maya-Python] getting the correct vray.exe from maya.env

2014-04-07 Thread ctjanney
vray is centrally installed, as are most of our plugins, and we have a tool for supervisors to customize the maya.env for the folks are their show, so everyone on the show is using the same versions of the same plugins. One of our in-house tools exports the current frame to a .vrscene file to b