Hi,
I just tested it locally, and it worked as expected. (I attached the export file as a zip archive Untitled4.zip.)
Code:
# create the import reporter
class Handler(NativeImportHandler):
def conflict(self, name, obj, guid):
print("Object already exists: ",name)
return NativeImportResolve.skip
def progress(self, name, obj, exception):
print("in progess: ", name)
def skipped(self, list):
for obj in list:
print("Skipped: ", obj.get_name())
def importFilter(name, guid,type,path):
return True;
handler = Handler()
projects.primary.import_native("D:\\cdsproj\\misc\\untitled4.export", importFilter, handler)
The export file was generated by exporting via the UI.
Could you provide an export file which does not work as expected, and the STR how you generated it?