How Get all the types(Filters,extensions) Recognized by the import manager?
ajd_at_072df9a27d
Posts: 60
How Get all the types (extensions) Recognized by the import manager?
var oImportMgr = App.getImportMgr();
var oFileFilter = new DzFileFilter();
oImportMgr.makeImportFileFilter(oFileFilter);
Error run script
Executing Script...
Script Error: Line -1
TypeError: cannot call makeImportFileFilter(): argument 1 has unknown type `DzFileFilter&' (register the type with qScriptRegisterMetaType())
Stack Trace:
makeImportFileFilter([object QMetaObject])@:-1
()@:3
()@:-1
Error executing script on line: -1
Script executed in 0 secs 0 msecs.
Comments
Have a look at these sample scripts:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/importer_settings/start
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/import_obj_silent/start
Thanks Richard.
it was what he wanted
Glad to help.