Vray Frame Buffer - "Save sRGB Primaries to file" with maxscript

Dear all,

I am in Vray 6 for Max 2025.
In the documentation there is the following command to save the view transform “sRGB” into the image (for example png from exr).

vfbcontrol #ociosaveinfile true

But there is no command to do this in sRGB-Mode?

Thanks in advance.
Robert​

Got it. It is a property in the DisplayCorrection-Layer itself:

vfbLayers = (vfbControl #getLayerMgr)[1]
myDisplayCorrectionLayer = vfbLayers.displayCorrectionLayer
myDisplayCorrectionLayer.save_rgb_primitives = true