Heya
As topic question states. Is there a command for it?
Heya
As topic question states. Is there a command for it?
You can pass a MEL script to be executed before the scene is rendered, I think; that script can change the attributes of the vraySettings node.
Best regards,
Vlado
Humh
How do I pass the mell script? Is it something like -vray -filename “xxxxx” -mel “bla bla bla bla bla” ? Can I also pass python script?
It is -preRender “MEL script”. It only works for MEL as far as I can tell.
Best regards,
Vlado
Thats great. Do you know maybe if we can link to c:/file.mel ? or we have to pass in the script there?
No idea; it’s a generic switch of the Maya “render” command-line tool, it’s not specific to V-Ray. Maybe using a “source” command will work.
Best regards,
Vlado