Hi all! I’m working on a script using Vray Standalone for Revit. I’m rendering multiple adaptations of a vrscene file. I want to import my Vray xml settings file for one specific render so I can enable Z-depth. Is this possible?
The documentation states:
“-configFile=“path/to/config/file” – The path and file name to the V-Ray config file, which contains paths to the V-Ray plugins. Note that additional paths for V-Ray plugins can also be specified with the VRAY_PLUGINS_x86 and VRAY_PLUGINS_x64 environment variables. The default is vrayconfig.xml in the same folder as vray.exe.”
Is this only relevant for plugins and not all the render settings?
If you prefer not to modify the vrscene file, you have the option to use -parameterOverride. The command should be structured as follows: vray.exe -parameterOverride=“<plugin-parameter-id>=<value>”
You can also refer to our -help command for detailed explanations of each command - please check the example here..
Another approach is to edit the vrscene file directly by making the necessary adjustments within a text editor.
Als a third option, you can convert the .xml file to .vrscene and add the include “settings.vrscene” command at the end of the vrscene file using a text editor.
You can also utilize a batch script. Here is an example: