Announcement

Collapse
No announcement yet.

setting VRAY_FOR_MAYA2016_PLUGINS_x64 environment variable in Maya.env doesn't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • setting VRAY_FOR_MAYA2016_PLUGINS_x64 environment variable in Maya.env doesn't work

    I'm trying to append the Yeti info to VRAY_FOR_MAYA2016_PLUGINS_x64 in Maya.env file and it's not working. If I make this edit:

    Code:
    VRAY_FOR_MAYA2016_PLUGINS_x64=/Applications/Autodesk/maya2016/vray/vrayplugins:/Applications/Yeti/bin
    and do getenv("VRAY_FOR_MAYA2016_PLUGINS_x64") in Maya, it returns this:

    // Result: /Applications/Autodesk/maya2016/vray/vrayplugins //

    Any idea how to make this edit work?
    Dave Girard | CAN-CON.ca | polygonspixelsandpaint.tumblr.com

  • #2
    Which OS is this?

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Os x 10.11.2.
      Last edited by BEIGE; 15-11-2015, 07:22 PM.
      Dave Girard | CAN-CON.ca | polygonspixelsandpaint.tumblr.com

      Comment


      • #4
        I don't think that this will work on any OS, at least in my experience. The best way would be to just export all variables in a shell script and run maya from that script.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          ok. Thanks
          Dave Girard | CAN-CON.ca | polygonspixelsandpaint.tumblr.com

          Comment


          • #6
            Why don't you try the following:
            1. Open up a terminal
            2. $ export VRAY_FOR_MAYA2016_PLUGINS_x64=/Applications/Autodesk/maya2016/vray/vrayplugins:/Applications/Yeti/bin
            3. $ open /Applications/Autodesk/maya2016/Maya.app

            If it works this way, we can help you set up these environment variables automatically.
            Yordan Miladinov V-Ray for Maya developer

            Comment


            • #7
              Yes, that works. That's what I've been doing but we're looking for a way to do this via GUI for customers that don't want to use Terminal.
              Dave Girard | CAN-CON.ca | polygonspixelsandpaint.tumblr.com

              Comment


              • #8
                Well, OS X is progressively blocking all the ways we could do this, so I don't know...

                Best regards,
                Vlado
                I only act like I know everything, Rogers.

                Comment


                • #9
                  Can you please check your /etc/profile and tell us if it sets the variable? It looks like Maya.env sets only these variables that are not already set by the time of starting up Maya. Thus, if you have VRAY_FOR_MAYA2016_PLUGINS_x64 defined in /etc/profile, whatever you place in Maya.env won't make a difference.
                  Yordan Miladinov V-Ray for Maya developer

                  Comment

                  Working...
                  X