Message 1 of 2
defaultArnoldDriver / aiAOVDriver access in Maya 2022 Batch Mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In Maya 2022 Batch mode there is not access to any output driver of Arnold, giving errors if you try to query or setting some output attributes like the file format.
cmds.setAttr("defaultArnoldDriver.aiTranslator", "tif", type="string")
RuntimeError: setAttr: No object matches name: defaultArnoldDriver.aiTranslator
Also, if you try to export the scene from batch mode using arnoldExportAss() command therre are some warnings from Arnold/MtoA that points also to the output drivers.
00:00:01 701MB WARNING | [mtoa] Output driver 0 for AOV "RGBA" is null
and the ASS files exported dont have options.outputs attributed established.
This is the options of a batch mode exported ASS
options
{
AA_samples 4
AA_seed 101
xres 1000
yres 1000
texture_per_file_stats on
texture_searchpath "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
texture_automip off
camera "RefImageCameraShape"
color_manager "defaultColorMgtGlobals"
frame 101
fps 25
procedural_searchpath "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
GI_diffuse_depth 2
GI_specular_depth 1
GI_transmission_depth 6
GI_diffuse_samples 4
GI_sss_samples 5
declare render_layer constant STRING
render_layer "defaultRenderLayer"
}
And this is the exported ASS of the same scene in GUI mode
options
{
AA_samples 4
outputs "RGBA RGBA defaultArnoldFilter/gaussian_filter defaultArnoldDriver/driver_tiff.RGBA"
AA_seed 101
xres 1000
yres 1000
texture_per_file_stats on
texture_searchpath "xxxxxxxxxxxxxxxxxxxx"
texture_automip off
camera "RefImageCameraShape"
color_manager "defaultColorMgtGlobals"
frame 101
fps 25
procedural_searchpath "xxxxxxxxxxxxx"
GI_diffuse_depth 2
GI_specular_depth 1
GI_transmission_depth 6
GI_diffuse_samples 4
GI_sss_samples 5
declare render_layer constant STRING
render_layer "defaultRenderLayer"
}
Any clue??