[SOLVED] Scripting Import Options - List of DzFileIOSettings - Can't find documented options

nategovannategovan Posts: 35

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

Post edited by nategovan on

Comments

Sign In or Register to comment.