I’m trying to access VRay functionality in a C# Rhino plugin. I’ve seen several examples that do this in VB, such as:
Set VRay = Rhino.GetPluginObject(“V-Ray for Rhino”)
What would the equivalent be in C#?
A bit of background: We are attempting to set up a render service for our office. To do this we are centralizing our materials database and want to be able to import materials (available via scripting) but also export materials back to .vrmat format to update the ‘global’ definitions. It would also be helpful to be able to interact with the vray render settings, modify lights and cameras, and assign vray materials to layers and objects outside of using a bunch of RhinoApp.RunScript(“foo”) lines.
Any help would be appreciated.