Note that VRay does actually come with “a .NET interface dll in C:\ProgramData\ASGVIS\VfR564\VRayForRhinoNETInterface.dll” outside of scripting macros, more here:
There are a few sample scripts that are installed in:
C:\ProgramData\ASGVIS\VfR564\SampleScripts
That would be a good starting point to see how to access some of these scripting functions.
Below is a list of all RhinoScript functions. Some have been obsoleted with age and/or new features. Feel free to ask any questions you have about the methods. There are also others that were added because of special customer requests and might not work in all use cases.
"GetSceneMaterialNames", dispidGe…