When executing the code below through the Studio 2017 SR1 API, for a GroupShare 2017 SR1 TM, I get an empty TMX file.
I think some time ago Tamas asked the same question. Has this problem been addressed in the meantime or is a particular workaround required?
TranslationMemoryExporter _objExport = new TranslationMemoryExporter(tmToExport.LanguageDirections[0]);
_objExport(tmxExportFileName, true);