Announcement

Collapse
No announcement yet.

Python - check if Vray is installed

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

  • Python - check if Vray is installed

    Is there a way in Modo (via Python) to check if Vray is installed, and if so, what version of Vray that is installed?

  • #2
    One way would be to check the kit version:

    import lx
    kitVer = lx.eval('kit.version vray ?')
    print kitVer


    If kitVer is None, then the kit is not installed, otherwise the kit version is returned
    Win10 Pro 64 / AMD Ryzen 9 5950X / 128GB / RTX 3090 + 1080 Ti / MODO
    I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live - Jesus Christ

    Comment


    • #3
      Perfect, thanks!

      Comment

      Working...
      X