Simply trying to change the image format in the render settings.
This is what the script editor kicks out.
When I use it in a script it says....
// Error: line 1: setAttr: 'vraySettings.imageFormatStr' is not a simple numeric attribute. Its values must be set with a -type flag. //
I did this..
Which gives no error but doesn't update the render settings or change the image format.
These two commands are kicked out when I manually use the drop down.
Any help so I can just set the image format from MEL correctly appreciated.
This is what the script editor kicks out.
Code:
setAttr "vraySettings.imageFormatStr" 6;
// Error: line 1: setAttr: 'vraySettings.imageFormatStr' is not a simple numeric attribute. Its values must be set with a -type flag. //
I did this..
Code:
setAttr "vraySettings.imageFormatStr" -type 6;
These two commands are kicked out when I manually use the drop down.
Code:
vrayChangeImageFormat; vrayUpdateImageFormatControl;
Comment