Announcement

Collapse
No announcement yet.

[MAXScript] check if VRay is installed

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

  • [MAXScript] check if VRay is installed

    Since I'm developing a small script, I wanted to know whether it is possible with MAXScript to check if there's a copy of VRay running or not.

    Any suggestions?
    --> http://www.tobyatwork.de
    --> http://www.scriptspot.com/blog/toby

  • #2
    Check the renderers.current or see if you can find a file used by vray.

    Comment


    • #3
      Code:
      findstring renderers.current "V-Ray"
      If true, VRay is the current render.
      Expand on the concept to check through all the renderers, just to know if it's installed.

      Lele

      Comment


      • #4
        seems not to work in some way
        --> http://www.tobyatwork.de
        --> http://www.scriptspot.com/blog/toby

        Comment


        • #5
          Code:
          if findstring (rendererclass.classes as string) "v_ray" != undefined then messagebox "success" else messagebox "bad bad bad"
          regards, Michael

          edit:

          Code:
          mystring = "" as stringstream
          format "Renderers installed:\n\n" to:mystring
          for i in rendererclass.classes do
          (
          format "%\n" i to:mystring
          )
          messagebox mystring as string
          to show the handling better
          This signature is only a temporary solution

          Comment


          • #6
            http://forums.cgsociety.org/showthre...?f=98&t=481656

            Answer to this from the master Bobo

            Comment


            • #7
              That's what was posted here....
              This signature is only a temporary solution

              Comment

              Working...
              X