[SOLVED] Scripting Import Options - List of DzFileIOSettings - Can't find documented options
Hi,
I'm trying to import some FBXs through a scripting process (well, it's actually a batch of them which I'm converting to .duf anims) but can't seem to find any documented options for DzFileIOSettings that will allow me to remove manual dialog box user input.
Process:
If I manually import the FBX I typically get a FBX Import Options screen:
Clicking 'Accept' loads everything perfectly for me.
However, I can't seem to find the configuration options to script this acceptance.
Eg:
var iMgr = App.getImportMgr()var importer = iMgr.findImporterByClassName('DzFbxImporter')var options = new DzFileIOSettings()//options.setBoolValue('RunSilent', true) // When commented, all is goodimporter.readFile(src, options)print('loadFBX:', src)
Objective:
I want to know what DzFileIOSettings options I have to select to auto accept the fbx import options.
I can't find any documented options other than seeing 'RunSilent' in a few places. this reomves the dialog, but does not import the fbx correctly.
Any help would be appreciated! Thanks
Comments
See http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/import_fbx_silent/start (I'd meant to post this earlier, but the documentation centre was down - my apologies)
Apologies for not closing this down earlier, this is exactly what I needed.
For clarity, the settings are:
Thanks,
Dan