zhangyuekai
2024-08-17 2ea53b9fbd3fc318f1c02c1888c22aec5abab8ef
HStation.RevitDev/RevitDataExport/Utility/CacheUtil.cs
@@ -78,9 +78,10 @@
            File.WriteAllText(GlobalResource.RecordFilePath, config);
        }
        public static bool ExportZipFile(Document _doc)
        public static bool ExportZipFile(Document _doc, out string err)
        {
            FolderBrowserDialog dialog = new FolderBrowserDialog();
            err = "";
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                try
@@ -112,6 +113,7 @@
                }
                catch (Exception ex)
                {
                    err = JsonHelper.ToJson(ex);
                    return false;
                }