How can I batch to change material in the scene?

How can I batch to change the material in the scene or overwrite existing material from .vrmat?

e.g. I want the change a lot of material in scene texture file xxx.tx → xxx.jpg

No anyone to know that?

Hi

You either use the file path editor, or leverage the V-Ray scripting API.

How can I use V-Ray scripting API to do it? Any simple python code example for reference or where have a menual?

there is a manual in the installation directory incl. examples, as well as on the chaos docs