xulisong 5 years ago
parent
commit
a3dbfa4618
1 changed files with 1 additions and 1 deletions
  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)