How to access the property of Vray material?

I wanna use ruby to read and change properties of VRay material. I was read the V-Ray for Sketchup Ruby API but still don’t know how to access properties of VRay material?
The property like diffuse, specular, glossiness…

Where did you read this ?

V-Ray writes its own metadata to the SketchUp material using attribute dictionaries.

2 Likes

I read it here: V-Ray Script Access - V-Ray for SketchUp - Global Site

1 Like

Thank you! I didn’t know that before, it really helpful for me. But I don’t know how to get all kind of “type” (please see the picture)?

Where are you seeing this?

I read it here: V-Ray Script Access - V-Ray for SketchUp - Global Site

The page you posted shows 2 of the symbols for Plugin types.

What does the Overview on the Plugin class page say ?

Thanks to your question, I already found the solution, thanks a lot!