I just tested it locally, and it worked as expected. (I attached the export file as a zip archive Untitled4.zip.)
# create the import reporter
def conflict(self, name, obj, guid):
print("Object already exists: ",name)
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):
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?