Pre Render MEL for setting VRay Region Size?

Hi there,

I need to render several render layers with their own unique VRay render regions. Would it be possible that a Pre Render MEL script would do the trick? If so would you be able to give a few pointers on how to set that up?

Many Thanks,

Ben

Run “vray vfbControl” to see what you can control using MEL. The command for the region is something like this

vray vfbControl -setregion 10 10 100 100;