xulisong 5 年之前
父節點
當前提交
a3dbfa4618
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      JBIM/RevitToJBim/MbiExport.cs

+ 1 - 1
JBIM/RevitToJBim/MbiExport.cs

@@ -53,7 +53,7 @@ namespace RevitToJBim
                 var resultResponse=HttpUtils.PostFormDataFile("http://192.168.20.225:8080/revit-algorithm/upload-json-zip/upload", stream);
                 string fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
                 string path = Path.Combine(@"D:\", $"{fileName}.json");
-                File.WriteAllText(path, resultResponse);
+                File.WriteAllText(path, resultResponse.ToString());
                 System.Diagnostics.Process.Start("notepad.exe", path);
             }
             catch (Exception ex)