Skip to content
Roy Nieterau edited this page Dec 10, 2013 · 2 revisions

The mc.vrayGetVRayRoot() command returns the path to the V-ray installation for the current version of Maya being used.

Examples

import maya.cmds as mc
print mc.vrayGetVRayRoot()

Results in (on a default installation of Maya 2014 on Windows):

C:/Program Files/Autodesk/Maya2014/vray
Clone this wiki locally